PT-90 Mobile Computer SDK Programming Manual
126
SendSMS
Send SMS message to specified phone number.
DWORD
SendSMS
{
LPTSTR
lpCenterNum
,
LPTSTR
lpSendNum
,
LPTSTR
lpData
}
Parameters
lpCenterNum
[in] The phone number of short message service center (SMSC), max size of 30. If this parameter is
NULL, will use storage SMSC in terminal to send.
lpSendNum
[in] The phone number of recipient, max size of 30.
lpData
[in] SMS message data, max size of 70.
Returned Values
If the action succeeds, the returned value is
. If the action fails, possible returned values are
Example
if(SendSMS(_T(""), _T("0912345678"), _T("Send Test")) != E_FUNC_SUCCEED)
AfxMessageBox(_T("Send SMS fail!"));
Requirements
OS Versions:
Windows CE 6.0 or beyond.
Header:
sysapiax.h
Link Library:
sysapiax.lib
Link DLL:
sysapiax.dll
Device:
PT90