Getphonemaxlength – Argox PT-9130 User Manual
Page 132

PT-90 Mobile Computer SDK Programming Manual 125
GetPhoneMaxLength
Get maximum length of number field and text field by SIM card.
DWORD GetPhoneMaxLength
{
int *
nNumberLen
,
int *
nNameLen
}
Parameters
nNumberLen
[out] Receive the maximum length of phone number.
nNameLen
[out] Receive the maximum length of phone text.
Returned Values
If the action succeeds, the returned value is
. If the action fails, possible returned values are
Example
int iNumberLen, iNameLen ;
if(GetPhoneMaxLength (&iNumberLen, &iNameLen) != E_FUNC_SUCCEED)
AfxMessageBox(_T("Get phone maximum length fail!"));
Requirements
OS Versions: Windows CE 6.0 or beyond.
Header: sysapiax.h
Link Library: sysapiax.lib
Link DLL: sysapiax.dll
Device: PT90