多谢指点!
我在此帖2楼中看到的工具更直观一些,只是不知道是什么工具! 本帖最后由 ceoguang 于 2013-3-31 12:28 编辑
回复 1# lon91ong
/*===========================================================================
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 );
回复 19# zhao_ming
官方提供的SDK里面就有函数声明 回复 20# ceoguang
多谢版主,这部分SDK我也看了,可惜看完了还是不知道怎么用! 回复 23# lon91ong
不知道你的目的是什么,这个函数后面的几个参数是可选的(可以设定为空,但不能不传).下面是示例代码
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)
回复 22# zhao_ming
什么意思 回复 15# lon91ong
参数表apiex里面好像有,印象不深了,官网上有个专门的脚本可以获取,忘了地址了
页:
1
[2]