Windows身份证云解码SDK开发包开发说明
发布日期:2024-01-03 12:41:42
来源:XX
浏览次数
Windows身份证云解码SDK开发包开发说明
int Syn_StartFindIDCard( int iPort, unsigned char * pucIIN, int iIfOpen );
参数说明:
0x9f 找卡成功
0x80 找卡失败
2.Syn_SelectIDCard
选卡。
iPort
[in] 整数,表示端口号。
pucSN
[out] 无符号字符指针,指向读到的SN。
iIfOpen
[in] 整数。
返回值:
int Syn_ReadBaseMsg(
int iPort,
unsigned char * pucCHMsg,
unsigned int * puiCHMsgLen,
unsigned char * pucPHMsg,
unsigned int * puiPHMsgLen,
int iIfOpen
);
参数说明:
0x90 读基本信息成功
0x41 读基本信息失败
4.Syn_ReadBaseMsgToFile
与Syn_ReadBaseMsg
函数
类似读取ID卡内基本信息区域信息,并将读到的基本信息写进输入参数所指定的文件中。
iPort
[in] 整数,表示端口号。
pcCHMsgFileName
[in] 读取到的ID卡内文字信息,需要写入文件,此为由用户指定的文件名。
puiCHMsgFileLen
[out] 存储文字信息的文件的长度。
pcCHMsgFileName
[in] 读取到的ID卡内照片信息,需要写入文件,此为由用户指定的文件名。
puiCHMsgFileLen
[out] 存储照片信息的文件的长度。
iIfOpen
[in] 整数。
返回值:
int Syn_ReadBaseFPMsg(
int iPort,
unsigned char * pucCHMsg,
unsigned int * puiCHMsgLen,
unsigned char * pucPHMsg,
unsigned int * puiPHMsgLen,
unsigned char * pucFPMsg,
unsigned int * puiFPMsgLen,
int iIfOpen
);
参数说明:
0x90 读基本信息成功
0x41 读基本信息失败
6.Syn_ReadBaseFPMsgToFile
与Syn_ReadBaseFPMsg
函数
类似,读取身份证内基本信息、照片信息和指纹信息,并将读到的信息写进输入参数所指定的文件中。
iPort
[in] 整数,表示端口号。
pcCHMsgFileName
[in] 读取到的ID卡内文字信息,需要写入文件,此为由用户指定的文件名。
puiCHMsgFileLen
[out] 存储文字信息的文件的长度。
pcCHMsgFileName
[in] 读取到的ID卡内照片信息,需要写入文件,此为由用户指定的文件名。
puiCHMsgFileLen
[out] 存储照片信息的文件的长度。
puiFPMsgFileName
[in] 由用户指定的文件名,将读取到的居民身份证指纹信息写入该文件。
puiFPMsgFileLen
[out] 无符号整型数指针,文件的长度。
iIfOpen
[in] 整数。
返回值:
int Syn_ReadFPMsg(
int iPortID,
unsigned char * pucFPMsg,
unsigned int * puiFPMsgLen,
int iIfOpen
);
8.readCardLog
是否开启本地日志记录,模拟关闭日志记录。
iRecord
[in] 整数。0:关闭日志,1:开启日志
返回值:
void readCardBeep(
int iBeep
);
参数说明:
无
10.readCardGetCardType
获取卡片类型。
<pre style="box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-stretch: normal; font-size: 11.9px; line-height: 1.6; font-family: " yahei="" consolas="" hybrid",="" consolas,="" "meiryo="" ui",="" "malgun="" gothic",="" "segoe="" "trebuchet="" ms",="" helvetica,="" monospace,="" monospace;="" overflow-wrap:="" normal;="" margin-top:="" 0px;="" margin-bottom:="" 1.5em;="" padding:="" 1em;="" overflow:="" auto;="" background:="" rgb(56,="" 69,="" 72);="" border-radius:="" 4px;="" border:="" 1px="" solid="" rgb(221,="" 221,="" 221);="" position:="" relative;="" color:="" rgb(209,="" 210,="" 210);"="">int readCardGetCardType( );
参数说明: