none
call SmsOpen() failed, how to make it seccessful ? wince6 R3 RRS feed

  • Question

  • SMS_HANDLE smshHandle;
    SMS_ADDRESS smsaDestination;
    TEXT_PROVIDER_SPECIFIC_DATA tpsd;
    SMS_MESSAGE_ID smsmidMessageID = 0;

    // try to open an SMS Handle
    HRESULT hr = SmsOpen(SMS_MSGTYPE_TEXT, SMS_MODE_SEND, &smshHandle, NULL);
    if (hr != ERROR_SUCCESS) {
        printf ("SmsOpen fail %x %d", hr, GetLastError());
        return 0;
    }
    the printf out put 0x80070057, 6.

    (wince 6 R3 + ril )

    how to make it work ? need set register file ? use tmail.exe ? how the smsopen function work with RIL driver ?

    is there any tips  ?

    Thank you !

     

    Tuesday, November 9, 2010 9:08 AM