PT-90 Mobile Computer SDK Programming Manual
137
SMS_Register
To register the SMS application to SYSAPIAX.dll so that SYSAPIAX.dll can communicate with the application.
DWORD
SMS_Register
{
HWND
hNotifyWnd
,
UINT
uNewSMSNotify
,
UINT
uNewPhoneNotify
}
Parameters
hNotifyWnd
[in] The window handling the function library will send message to report.
uNewSMSNotify
[in] Application-defined message identifier. The system uses this for notification message that it sends to the
window identified in
hNotifyWnd
. These notifications are sent when receive a new SMS of GPRS
module.
uNewPhoneNotify
[in] Application-defined message identifier. The system uses this for notification message that it sends to the
window identified in
hNotifyWnd
. These notifications are sent when receive a new phone call of GPRS
module.
Returned Values
If the action succeeds, the returned value is
. If the action fails, possible returned values are
Example
if(SMS_Register(hWnd, 1, 2) != E_FUNC_SUCCEED)
AfxMessageBox(_T("SMS_Register fail!"));
Requirements
OS Versions:
Windows CE 6.0 or beyond.
Header:
sysapiax.h
Link Library:
sysapiax.lib
Link DLL:
sysapiax.dll
Device:
PT90