DLCardManager.h
804 Bytes
#ifndef DL_CARD_MANAGER_H
#define DL_CARD_MANAGER_H
#define DL_DLL_API extern "C" __declspec(dllexport)
DL_DLL_API int __stdcall ConnectDLDevice();
DL_DLL_API int __stdcall FindDLCard();
DL_DLL_API int __stdcall AuthenticationDLKey(unsigned char* pKey);
DL_DLL_API int __stdcall ReadDLCardData(unsigned char* pDirID, unsigned char cFileID, short u16Offset, int u32DateLen, unsigned char* pData, unsigned char* pKey = 0);
DL_DLL_API int __stdcall WriteDLCardData(unsigned char* pDirID, unsigned char cFileID, unsigned char cOffset, unsigned short cDateLen, unsigned char* pData, unsigned char* pKey);
DL_DLL_API int __stdcall InstallDLKey(unsigned char* pDirID, unsigned char cKeyID, unsigned char* pNewKey, int iKeyType, unsigned char* pMainKey);
DL_DLL_API int __stdcall DisconnectDLDevice();
#endif