IDR-100UC身份证阅读器SDK使用手册
V6.0
概述
本手册是操作身份证阅读器动态库应用函数的定义格式、调用方法和返回值的说明。
1. 定义
应用函数开发包含下列文件:
termb.dll API函数的动态联接库
适用操作系统:
Windows: 需要 Windows 2000,xp或以后版本
适用开发语言:
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(unsigned char *strTmp, int *strLen) //得到姓名信息
int GetPeopleSex(unsigned char *strTmp, int *strLen) //得到性别信息
int GetPeopleNation(unsigned char *strTmp, int *strLen) //得到民族信息
int GetPeopleBirthday(unsigned char *strTmp, int *strLen) //得到出生日期
int GetPeopleAddress(unsigned char *strTmp, int *strLen) //得到地址信息
int GetPeopleIDCode(unsigned char *strTmp, int *strLen) //得到卡号信息
int GetDepartment(unsigned char *strTmp, int *strLen) //得到发证机关信息
int GetStartDate(unsigned char *strTmp, int *strLen) //得到有效开始日期
int GetEndDate(unsigned char *strTmp, int *strLen) //得到有效截止日期
int Getbase64BMPData(unsigned char *strTmp, int *strLen); //头像bmp base64
int Getbase64JpgData(unsigned char *strTmp, int *strLen); //头像jpg base64
int GetFPDate( unsigned char *, int *strlen); //指纹数据
int GetBMPData(unsigned char * bmpdate, int *strlen); //头像bmp
int CVR_GetSAMID(unsigned char * SAMID) //得到安全模块号码