Foxtable(狐表)用户栏目专家坐堂 → 怎样定义api函数


  共有13972人关注过本帖平板打印复制链接

主题:怎样定义api函数

帅哥哟,离线,有人找我吗?
sophia
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:小狐 帖子:334 积分:2722 威望:0 精华:0 注册:2010/5/20 13:07:00
怎样定义api函数  发帖心情 Post By:2010/5/23 8:00:00 [只看该作者]

现用第三方dll文件,其中定义函数原型如下:

 

原  型:

       int _stdcall GetPeopleName(char *strTmp, int strLen)     //得到姓名信息    

       int _stdcall GetPeopleSex(char *strTmp, int strLen)        //得到性别信息    

       int _stdcall GetPeopleNation(char *strTmp, int strLen)           //得到民族信息    

       int _stdcall GetPeopleBirthday(char *strTmp, int strLen)    //得到出生日期    

       int _stdcall GetPeopleAddress(char *strTmp, int strLen)     //得到地址信息    

       int _stdcall GetPeopleIDCode(char *strTmp, int strLen)     //得到卡号信息    

       int _stdcall GetDepartment(char *strTmp, int strLen)      //得到发证机关信息    

       int _stdcall GetStartDate(char *strTmp, int strLen)         //得到有效开始日期    

       int _stdcall GetEndDate(char *strTmp, int strLen)              //得到有效截止日期

说    明:以上函数调用流程为:调用 CVR_Read_Content 或者 CVR_ReadBaseMsg 函数       

           成功后再分别调用以上函数。CVR_Read_Content 或者 CVR_ReadBaseMsg 函数  

 

返 回 值:

返回值

意义

1

正确

0

错误

  

在狐表中怎样定义API函数?例如:我想用第一个“得到姓名信息”的函数


 回到顶部
总数 12 1 2 下一页