/*===========================================================================
METHOD:
ActivateManual
DESCRIPTION:
This function requests the device perform manual service activation,
after a successful request the device is then asked to reset
PARAMETERS:
pSPC [ I ] - NULL terminated string representing the six digit
service programming code
sid [ I ] - System identification number
pMDN [ I ] - Mobile Directory Number string
pMIN [ I ] - Mobile Identification Number string
prlSize [ I ] - (Optional) Size of PRL file array
pPRL [ I ] - (Optional) The PRL file contents
pMNHA [ I ] - (Optional) MN-HA string
pMNAAA [ I ] - (Optional) MN-AAA string
RETURN VALUE:
ULONG - Return code
===========================================================================*/
QCIMPORT2K ULONG QCWWANAPI2K ActivateManual(
CHAR * pSPC,
WORD sid,
CHAR * pMDN,
CHAR * pMIN,
ULONG prlSize,
BYTE * pPRL,
CHAR * pMNHA,
CHAR * pMNAAA );
Local $pSPC = '123456';6位数的服务代码
Local $sid = 11511;系统识别号
Local $pMDN = '13888888888';移动电话号码
Local $pMIN = '111111';识别码
Local $nRet = DllCall('QCWWAN2k.dll','ulong','ActivateManual','str',$pSPC,'word',$sid,'str',$pMDN,'str',$pMIN,'ulong',0,'ptr',Null,'str',Null,'str',Null)