📄 fcidc.h
字号:
#ifndef _FCIDC_H_
#define _FCIDC_H_
#define CIDCAPI int
#define MAX_BUF 256
#define CIDCFALSE 0
#define CIDCTRUE 1
#define VERSION "Version 8.001"
#define CIDC_ERR_InDataTooLong -10
#define CIDC_ERR_OutDataTooLong -11
#define CIDC_ERR_InDataLenNotEven -12
#define CIDC_ERR_OutDataLenNotEven -13
#define CIDC_ERR_InDataNotValid -14
#define CIDC_ERR_OutDataNotValid -15
#define CIDC_ERR_InDataOutRange -16
#define CIDC_ERR_OutDataOutRange -17
#define CIDC_ERR_InDataTooBig -18
#define CIDC_ERR_OutDataTooBig -19
#define CIDC_ERR_AccessSAM -20
#ifdef __cplusplus
extern "C" {
#endif
CIDCAPI fci_Init( int ch,char * strResult );
CIDCAPI fci_Close( char * strResult);
CIDCAPI fci_ActiveCard( int actmode,char * strResult );
CIDCAPI fci_GetATR( int atrmode ,char * strResult);
CIDCAPI fci_CreateDF( char * fhead,char * strResult );
CIDCAPI fci_CreateEF( char * fhead ,char * strResult);
CIDCAPI fci_CreateSEF( char *fhead, int id,char * strResult );
CIDCAPI fci_SelectMF( char * strResult);
CIDCAPI fci_SelectDF( char *fname,char * strResult );
CIDCAPI fci_SelectEF( char *fid,char * strResult );
CIDCAPI fci_UpdateRecord( int idRec, char * istr, int dmode ,char * strResult,int recLen);
CIDCAPI fci_AppendRecord( char * istr, int dmode ,char * strResult);
CIDCAPI fci_ReadRecord( int idRec, int dmode ,char * strResult);
CIDCAPI fci_ExternalAuth( int idkey, char * str ,char * strResult);
CIDCAPI fci_Des( char * deskey, char * data, int fdes,char * strResult );
CIDCAPI fci_PickKey(unsigned int nPortNum, char *szPwd,char * strResult);
CIDCAPI fci_CardReady(unsigned int nPortNum,char * strResult);
void fci_CloseCard(char * strResult);
CIDCAPI fci_CardExternalAuth( int idKey,char * SN,char * strResult);
CIDCAPI fci_SetKey( int idkey, char * keystr,char *SN,char * strResult);
CIDCAPI fci_ChangeKey( int idkey, char * keystr, int idckey, char * ckeystr ,char * strResult);
CIDCAPI fci_SetEFAttrib(int attributeIndex,char *attribute,char *strResult);
CIDCAPI fci_SetSEFAttrib(int idKey,int attributeIndex,char *attribute,char *strResult);
CIDCAPI fci_SetDFAttrib(int attributeIndex,char *attribute,char *strResult);
int CompressChar(unsigned char * dest, unsigned char * src, unsigned int len);
int ExpandChar(unsigned char *dest,unsigned char *source,unsigned int len);
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -