PT-90 Mobile Computer SDK Programming Manual
136
GetSMSCentre
Get phone number of short message service center (SMSC).
DWORD
GetSMSCentre
{
LPTSTR
lpNumber
,
int
nMaxLen
}
Parameters
lpNumber
[out] Receive the SMS centre phone number.
nMaxLen
[in] The
lpNumber
buffer max size.
Returned Values
If the action succeeds, the returned value is
. If the action fails, possible returned values are
Example
WCHAR szNumber[30];
if(GetSMSCentre(szNumber, 30) != E_FUNC_SUCCEED)
AfxMessageBox(_T("Get SMS centre fail!"));
Requirements
OS Versions:
Windows CE 6.0 or beyond.
Header:
sysapiax.h
Link Library:
sysapiax.lib
Link DLL:
sysapiax.dll
Device:
PT90