?? dcic32.h
字號:
extern "C"
{
//des slgorythm.
__int16 __stdcall IC_Encrypt( char *key,char *ptrSource, unsigned __int16 msgLen, char *ptrDest);
__int16 __stdcall IC_Decrypt( char *key,char *ptrSource, unsigned __int16 msgLen, char *ptrDest);
__int16 __stdcall IC_Encrypt_Hex( char *key,char *ptrSource, unsigned __int16 msgLen, char *ptrDest);
__int16 __stdcall IC_Decrypt_Hex( char *key,char *ptrSource, unsigned __int16 msgLen, char *ptrDest);
//
HANDLE __stdcall IC_InitComm(__int16 port);
HANDLE __stdcall IC_InitCommAdvanced(__int16 port);
HANDLE __stdcall IC_InitComm_Baud(__int16 port,unsigned long combaud);
__int16 __stdcall IC_ExitComm(HANDLE idComDev);
__int16 __stdcall IC_Status(HANDLE idComDev);
__int16 __stdcall IC_Down(HANDLE idComDev);
__int16 __stdcall IC_SetCommTimeout(DWORD lTime_ms,DWORD sTime_ms);
__int16 __stdcall IC_SetUsbTimeout(unsigned char ntimes);
__int16 __stdcall IC_ReadVer(HANDLE idComDev,unsigned char *Ver);
__int16 __stdcall IC_DevBeep(HANDLE idComDev,unsigned char beeptime);
__int16 __stdcall IC_Beep(HANDLE idComDev,unsigned char delaytime,unsigned char beeptime);
__int16 __stdcall IC_ReadDevice(HANDLE idComDev,__int16 offset,__int16 len,unsigned char * databuffer);
__int16 __stdcall IC_WriteDevice(HANDLE idComDev,__int16 offset,__int16 len,unsigned char * writebuffer);
__int16 __stdcall IC_ReadDevice_Hex(HANDLE idComDev,__int16 offset,__int16 len,unsigned char * databuffer);
__int16 __stdcall IC_WriteDevice_Hex(HANDLE idComDev,__int16 offset,__int16 len,unsigned char * writebuffer);
//
__int16 __stdcall IC_CpuApduSourceEXT(HANDLE idComDev, __int16 slen, unsigned char * sendbuffer, __int16 *rlen, unsigned char * databuffer);
__int16 __stdcall IC_CpuApduSourceEXT_Hex(HANDLE idComDev, __int16 slen, unsigned char * sendbuffer, __int16 *rlen, unsigned char * databuffer);
__int16 __stdcall IC_CpuApduEXT(HANDLE idComDev,__int16 slen,unsigned char * sendbuffer,__int16 *rlen,unsigned char * databuffer);
__int16 __stdcall IC_CpuApduEXT_Hex(HANDLE idComDev,__int16 slen,unsigned char * sendbuffer,__int16 *rlen,unsigned char * databuffer);
__int16 __stdcall IC_CpuReset(HANDLE idComDev,unsigned char *rlen, unsigned char *databuffer);
__int16 __stdcall IC_CpuApdu(HANDLE idComDev,unsigned char slen,unsigned char * sendbuffer,unsigned char *rlen,unsigned char * databuffer);
__int16 __stdcall IC_CpuApduSource(HANDLE idComDev,unsigned char slen,unsigned char * sendbuffer,unsigned char *rlen,unsigned char * databuffer);
__int16 __stdcall IC_CpuReset_Hex(HANDLE idComDev,unsigned char *rlen, unsigned char *databuffer);
__int16 __stdcall IC_CpuApdu_Hex(HANDLE idComDev,unsigned char slen,unsigned char * sendbuffer,unsigned char *rlen,unsigned char * databuffer);
__int16 __stdcall IC_CpuApduSource_Hex(HANDLE idComDev,unsigned char slen,unsigned char * sendbuffer,unsigned char *rlen,unsigned char * databuffer);
__int16 __stdcall IC_CpuGetProtocol(HANDLE idComDev);
__int16 __stdcall IC_CpuApduRespon(HANDLE idComDev,unsigned char slen,unsigned char * sendbuffer,unsigned char *rlen,unsigned char * databuffer);
__int16 __stdcall IC_CpuSetProtocol(HANDLE idComDev,unsigned char cardp);
//
__int16 __stdcall IC_Pushout(HANDLE idComDev);
__int16 __stdcall IC_InitType (HANDLE idComDev,__int16 type);
__int16 __stdcall IC_Read(HANDLE idComDev,__int16 offset,__int16 len,unsigned char * databuffer);
__int16 __stdcall IC_Read_Float(HANDLE idComDev,__int16 offset,float *fdata);
__int16 __stdcall IC_Read_Int(HANDLE idComDev,__int16 offset,long *fdata);
__int16 __stdcall IC_Write_Int(HANDLE idComDev,__int16 offset,long fdata);
__int16 __stdcall IC_ReadProtection(HANDLE idComDev,__int16 offset,__int16 len,unsigned char* protbuffer);
__int16 __stdcall IC_ReadProtection_Hex(HANDLE idComDev,__int16 offset,__int16 len,unsigned char* protbuffer);
__int16 __stdcall IC_ReadWithProtection(HANDLE idComDev,__int16 offset,__int16 len,unsigned char* protbuffer);
__int16 __stdcall IC_ReadWithProtection_Hex(HANDLE idComDev,__int16 offset,__int16 len,unsigned char* protbuffer);
__int16 __stdcall IC_Write(HANDLE idComDev,__int16 offset,__int16 len,unsigned char *writebuffer);
__int16 __stdcall IC_Write_Float(HANDLE idComDev,__int16 offset,float fdata);
__int16 __stdcall IC_WriteProtection(HANDLE idComDev,__int16 offset,__int16 len,unsigned char *protbuffer);
__int16 __stdcall IC_WriteWithProtection(HANDLE idComDev,__int16 offset,__int16 len,unsigned char *writebuffer);
__int16 __stdcall IC_WriteProtection_Hex(HANDLE idComDev,__int16 offset,__int16 len,unsigned char *protbuffer);
__int16 __stdcall IC_WriteWithProtection_Hex(HANDLE idComDev,__int16 offset,__int16 len,unsigned char * writebuffer);
__int16 __stdcall IC_ReadPass_SLE4442(HANDLE idComDev,unsigned char*password);
__int16 __stdcall IC_ReadCount_SLE4442(HANDLE idComDev);
__int16 __stdcall IC_CheckPass_SLE4442(HANDLE idComDev,unsigned char* password);
__int16 __stdcall IC_ChangePass_SLE4442(HANDLE idComDev,unsigned char*password);
//
__int16 __stdcall IC_CheckPass_4442hex(HANDLE idComDev,unsigned char*password);
__int16 __stdcall IC_ChangePass_4442hex(HANDLE idComDev,unsigned char*password);
__int16 __stdcall IC_ReadPass_4442hex(HANDLE idComDev,unsigned char*password);
//
__int16 __stdcall IC_ReadCount_SLE4428(HANDLE idComDev);
__int16 __stdcall IC_CheckPass_SLE4428(HANDLE idComDev,unsigned char* password);
__int16 __stdcall IC_ChangePass_SLE4428(HANDLE idComDev,unsigned char* password);
//
__int16 __stdcall IC_CheckPass_4428hex(HANDLE idComDev,unsigned char* password);
__int16 __stdcall IC_ChangePass_4428hex(HANDLE idComDev,unsigned char* password);
//
__int16 __stdcall IC_Erase(HANDLE idComDev,__int16 offset,__int16 len);
__int16 __stdcall IC_Erase_102(HANDLE idComDev,__int16 offset,__int16 len);
__int16 __stdcall IC_Fuse_102(HANDLE idComDev);
__int16 __stdcall IC_ReadCount_102(HANDLE idComDev);
__int16 __stdcall IC_CheckPass_102(HANDLE idComDev,unsigned char*password);
__int16 __stdcall IC_ChangePass_102(HANDLE idComDev,unsigned char*password);
__int16 __stdcall IC_CheckAZPass_102(HANDLE idComDev,__int16 zone, unsigned char*password);
__int16 __stdcall IC_ChangeAZPass_102(HANDLE idComDev,__int16 zone,unsigned char*password);
//
__int16 __stdcall IC_CheckPass_102hex(HANDLE idComDev,unsigned char*password);
__int16 __stdcall IC_ChangePass_102hex(HANDLE idComDev,unsigned char*password);
__int16 __stdcall IC_CheckAZPass_102hex(HANDLE idComDev,__int16 zone, unsigned char*password);
__int16 __stdcall IC_ChangeAZPass_102hex(HANDLE idComDev,__int16 zone,unsigned char*password);
__int16 __stdcall IC_Fuse_1604(HANDLE idComDev);
__int16 __stdcall IC_ReadCount_1604(HANDLE idComDev,__int16 area);
__int16 __stdcall IC_CheckPass_1604(HANDLE idComDev,__int16 area,unsigned char*password);
__int16 __stdcall IC_ChangePass_1604(HANDLE idComDev,__int16 area,unsigned char*password);
//
__int16 __stdcall IC_CheckPass_1604hex(HANDLE idComDev,__int16 area,unsigned char*password);
__int16 __stdcall IC_ChangePass_1604hex(HANDLE idComDev,__int16 area,unsigned char*password);
//4404
__int16 __stdcall IC_Fuse_4404(HANDLE icdev);
__int16 __stdcall IC_ReadCount_4404(HANDLE icdev);
__int16 __stdcall IC_CheckPass_4404(HANDLE idComDev,unsigned char *password);
__int16 __stdcall IC_ChangePass_4404(HANDLE idComDev,unsigned char *password);
__int16 __stdcall IC_CheckAZPass_4404(HANDLE idComDev,unsigned char *password);
__int16 __stdcall IC_ChangeAZPass_4404(HANDLE idComDev,unsigned char*password);
__int16 __stdcall IC_CheckPass_4404hex(HANDLE idComDev,unsigned char *password);
__int16 __stdcall IC_ChangePass_4404hex(HANDLE idComDev,unsigned char *password);
__int16 __stdcall IC_CheckAZPass_4404hex(HANDLE idComDev,unsigned char *password);
__int16 __stdcall IC_ChangeAZPass_4404hex(HANDLE idComDev,unsigned char*password);
//4406
__int16 __stdcall IC_RValue(HANDLE idComDev);
__int16 __stdcall IC_DEValue(HANDLE idComDev,__int16 num);
__int16 __stdcall IC_Fuse_4406(HANDLE icdev, __int16 value);
__int16 __stdcall IC_ReadCount_4406(HANDLE icdev);
__int16 __stdcall IC_CheckPass_4406(HANDLE idComDev,unsigned char *password);
__int16 __stdcall IC_Erase_4406(HANDLE idComDev,unsigned char offset);
__int16 __stdcall IC_CheckPass_4406hex(HANDLE idComDev,unsigned char *password);
__int16 __stdcall IC_CheckPass_4406userhex(HANDLE idComDev,unsigned char *password);
__int16 __stdcall IC_CheckPass_4406user(HANDLE idComDev,unsigned char *password);
//
__int16 __stdcall IC_Write24(HANDLE idComDev,__int16 offset,__int16 len,unsigned char *writebuffer);
__int16 __stdcall IC_Write64(HANDLE idComDev,__int16 offset,__int16 len,unsigned char *writebuffer);
//hex read and write.
__int16 __stdcall IC_Write_Hex(HANDLE idComDev,__int16 offset,__int16 len,unsigned char *writebuffer);
__int16 __stdcall IC_Read_Hex(HANDLE idComDev,__int16 offset,__int16 len,unsigned char * databuffer);
__int16 __stdcall IC_Write24_Hex(HANDLE idComDev,__int16 offset,__int16 len,unsigned char *writebuffer);
__int16 __stdcall IC_Write64_Hex(HANDLE idComDev,__int16 offset,__int16 len,unsigned char *writebuffer);
//
__int16 __stdcall IC_DirectRead(HANDLE idComDev,__int16 page,__int16 offset,__int16 bytes,unsigned char *buff);
__int16 __stdcall IC_DirectWrite(HANDLE idComDev,__int16 page,__int16 offset,__int16 bytes,unsigned char *buff);
//
__int16 __stdcall IC_DirectRead_Hex(HANDLE idComDev,__int16 page,__int16 offset,__int16 bytes,unsigned char *buff);
__int16 __stdcall IC_DirectWrite_Hex(HANDLE idComDev,__int16 page,__int16 offset,__int16 bytes,unsigned char *writebuffer);
//
__int16 __stdcall IC_Fuse_1604B(HANDLE idComDev);
__int16 __stdcall IC_ReadCount_1604B(HANDLE idComDev,__int16 area);
__int16 __stdcall IC_ChangePass_1604B(HANDLE idComDev,__int16 area,unsigned char*password);
__int16 __stdcall IC_CheckPass_1604B(HANDLE idComDev,__int16 area,unsigned char*password);
__int16 __stdcall IC_ChangePass_1604Bhex(HANDLE idComDev,__int16 area,unsigned char*password);
__int16 __stdcall IC_CheckPass_1604Bhex(HANDLE idComDev,__int16 area,unsigned char*password);
//
__int16 __stdcall IC_Read_1101(HANDLE idComDev,__int16 page,__int16 offset,__int16 bytes,unsigned char *buff);
__int16 __stdcall IC_Write_1101(HANDLE idComDev,__int16 page,__int16 offset,__int16 bytes,unsigned char *buff);
__int16 __stdcall IC_Read_1101hex(HANDLE idComDev,__int16 page,__int16 offset,__int16 bytes,unsigned char *buff);
__int16 __stdcall IC_Write_1101hex(HANDLE idComDev,__int16 page,__int16 offset,__int16 bytes,unsigned char *buff);
//AT88SC1608 卡的專用函數(shù)
__int16 __stdcall IC_InitAuth_Hex(HANDLE idComDev,unsigned char *Q0);
__int16 __stdcall IC_CheckAuth_Hex(HANDLE idComDev,unsigned char *Q1);
__int16 __stdcall IC_InitAuth(HANDLE idComDev,unsigned char *Q0);
__int16 __stdcall IC_CheckAuth(HANDLE idComDev,unsigned char *Q1);
__int16 __stdcall IC_CheckRPassword_Hex(HANDLE idComDev,unsigned char zone,unsigned char *Pin);
__int16 __stdcall IC_CheckWPassword_Hex(HANDLE idComDev,unsigned char zone,unsigned char *Pin);
__int16 __stdcall IC_CheckRPassword(HANDLE idComDev,unsigned char zone,unsigned char *Pin);
__int16 __stdcall IC_CheckWPassword(HANDLE idComDev,unsigned char zone,unsigned char *Pin);
__int16 __stdcall IC_ChangeRPassword(HANDLE idComDev,unsigned char zone,unsigned char *Pin);
__int16 __stdcall IC_ChangeWPassword(HANDLE idComDev,unsigned char zone,unsigned char *Pin);
__int16 __stdcall IC_ChangeRPassword_Hex(HANDLE idComDev,unsigned char zone,unsigned char *Pin);
__int16 __stdcall IC_ChangeWPassword_Hex(HANDLE idComDev,unsigned char zone,unsigned char *Pin);
__int16 __stdcall IC_WriteFuse(HANDLE idComDev,unsigned char fusetype);
__int16 __stdcall IC_ReadFuse(HANDLE idComDev);
__int16 __stdcall IC_WriteConfigZone(HANDLE idComDev,__int16 Offset,__int16 len,unsigned char *WDataBuff);
__int16 __stdcall IC_WriteUserZone(HANDLE idComDev,__int16 Offset,__int16 len,unsigned char *WDataBuff);
__int16 __stdcall IC_ReadConfigZone(HANDLE idComDev,__int16 Offset,__int16 len,unsigned char *RDataBuff);
__int16 __stdcall IC_ReadUserZone(HANDLE idComDev,__int16 Offset,__int16 len,unsigned char *RDataBuff);
__int16 __stdcall IC_ReadWPasswordCount(HANDLE idComDev,unsigned char zone);
__int16 __stdcall IC_ReadRPasswordCount(HANDLE idComDev,unsigned char zone);
__int16 __stdcall IC_ReadAuthCount(HANDLE idComDev);
__int16 __stdcall IC_WriteConfigZone_Hex(HANDLE idComDev,__int16 Offset,__int16 len,unsigned char *WDataBuff);
__int16 __stdcall IC_WriteUserZone_Hex(HANDLE idComDev,__int16 Offset,__int16 len,unsigned char *WDataBuff);
__int16 __stdcall IC_ReadConfigZone_Hex(HANDLE idComDev,__int16 Offset,__int16 len,unsigned char *RDataBuff);
__int16 __stdcall IC_ReadUserZone_Hex(HANDLE idComDev,__int16 Offset,__int16 len,unsigned char *RDataBuff);
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -