点击IDR-100UC身份证阅读器API二次开发SDK V4.0下载软件
IDR-100UC身份证阅读器API二次开发SDK V4.0
概述
本手册是操作身份证阅读器动态库应用函数的定义格式、调用方法和返回值的说明。
1. 定义
应用函数开发包含下列文件:
termb.dll API函数的动态联接库
sdtapi.dll 安全模块通讯函数
UnPack.dll 身份证相片解码库
适用操作系统:
Windows NT: 需要NT 3.1版或以后版本
Windows: 需要 Windows 98、Windows 2000或以后版本
适用开发语言:
Visual C++ 5.0 及以后版本
Visual Basic 5.0 及以后版本
Delphi 3.0 及以后版本
PowerBuilder 6.0 及以后版本
2. 函数列表
//以下为主要API函数
int CVR_InitComm(int Port) 初始化连接;
int CVR_Authenticate() 卡认证;
int CVR_Read_Content(int active) 读卡操作。
int CVR_CloseComm() 关闭连接;
//以下为可选API函数,方便二次开发
int GetPeopleName(char *strTmp, int *strLen) 得到姓名信息
int GetPeopleSex(char *strTmp, int *strLen) 得到性别信息
int GetPeopleNation(char *strTmp, int *strLen) 得到民族信息
int GetPeopleBirthday(char *strTmp, int *strLen) 得到出生日期
int GetPeopleAddress(char *strTmp, int *strLen) 得到地址信息
int GetPeopleIDCode(char *strTmp, int *strLen) 得到身份证号信息
int GetDepartment(char *strTmp, int *strLen) 得到发证机关信息
int GetStartDate(char *strTmp, int *strLen) 得到有效开始日期
int GetEndDate(char *strTmp, int *strLen) 得到有效截止日期
int CVR_GetSAMID(char *SAMID) 得到安全模块号