B
BBM
Unregistered / Unconfirmed
GUEST, unregistred user!
////////////////////////////////////////////////////////////////////////////
class TDllCall : public TObject
{
// Construction
public:
__fastcall TDllCall::TDllCall();
__fastcall TDllCall::~TDllCall();
// Attributes
public:
HINSTANCE hLibrary;
TMemoryStream *m_File;
void* m_pDevice;
void* m_pActReturn;
int nSizeOfData;
BOOL bGetData;
int nInfoReturn;
int nTagAdr, nMyAdr;
BOOL bConnect, bDisConnect;
int nFileHandle;
int nFileHandle1;
// Operations
public:
BOOL __fastcall LoadFunction();
String __fastcall ShowMessage(int nMessage, int nFontMsg);
String __fastcall AddZero(String strData, int nLength);
int __fastcall myatoi(char chChar);
String __fastcall Learch(const String& strSrc, char chChar);
String __fastcall HexToStr(int n);
void __fastcall WriteFile(int nAdr, int nInfoReturn, int nHandle,
String strSectorNum, String strOldAKey, String strOldBKey,
String strNewAKey, String strNewBKey);
String __fastcall AddAttGuardRecord(int nCount, ATTGUARDRECORD CardRecord);
String __fastcall AddPOSRecord(int nCount, POSRECORD CardRecord);
int __fastcall WriteAttGuardFile(int nCount, ATTGUARDRECORD CardRecord);
int __fastcall WritePOSFile(int nCount, POSRECORD CardRecord);
typedef void* __stdcall (OPENDEVICE)(int nMyAddress, HWND hWnd);
typedef void __stdcall (RECVEDITION)(LPTSTR lpEdition);
typedef BOOL __stdcall (CONNECT)(void* pDevice, LPCTSTR lpCommDef);
typedef void __stdcall (SETADDLOG)(void* pDevice, BOOL bAddLog);
typedef void __stdcall (SETINNERCODE)(void* pDevice, BOOL bBig5);
typedef void __stdcall (SETINNERCMD)(void* pDevice, BOOL bInner);
typedef void __stdcall (SETCOMMKEY)(void* pDevice, LPCTSTR lpCommKey);
typedef void __stdcall (SETWAITTIME)(void* pDevice, DWORD dwWaitTime);
typedef void* __stdcall (STARTICDMCMD)(void* pDevice, int nAddress, int nCommand,
void* pParameters = NULL, int nSizeOfParameter = 0);
typedef int __stdcall (GETSIZEOFDATA)(void* pCommand);
typedef BOOL __stdcall (GETDATA)(void* pCommand, void* pDataBuffer, int nSize);
typedef int __stdcall (GETCMDRESULT)(void* pCommand);
typedef void __stdcall (ENDICDMCMD)(void* pCommand);
typedef BOOL __stdcall (DISCONNECT)(void* pDevice);
typedef void __stdcall (CLOSEDEVICE)(void* pDevice);
typedef void __stdcall (SETMYADDRESS)(void* pDevice, int nAddress);
typedef void __stdcall (SENDFRAME)(void* pDevice, LPCTSTR lpSendFrm);
typedef void __stdcall (CLEARRECVSTR)(void* pDevice);
typedef BOOL __stdcall (RECVSTREAM)(void* pDevice, LPTSTR lpRecvStr);
typedef BOOL __stdcall (RECVHDLC)(void* pDevice, LPTSTR lpRecvStr);
SENDFRAME* lpSendFrame;
CLEARRECVSTR* lpClearRecvStr;
RECVSTREAM* lpRecvStream;
RECVHDLC* lpRecvHDLC;
OPENDEVICE* lpOpenDevice;
RECVEDITION* lpRecvEdition;
CONNECT* lpConnect;
SETADDLOG* lpSetAddLog;
SETINNERCODE* lpSetInnerCode;
SETINNERCMD* lpSetInnerCmd;
SETWAITTIME* lpSetWaitTime;
SETCOMMKEY* lpSetCommKey;
STARTICDMCMD* lpStartICDMCmd;
GETSIZEOFDATA* lpGetSizeOfData;
GETDATA* lpGetData;
GETCMDRESULT* lpGetCmdResult;
ENDICDMCMD* lpEndICDMCmd;
DISCONNECT* lpDisConnect;
CLOSEDEVICE* lpCloseDevice;
SETMYADDRESS* lpSetMyAddress;
// Generated message map functions
protected:
};
/////////////////////////////////////////////////////////////////////////////
#endif
class TDllCall : public TObject
{
// Construction
public:
__fastcall TDllCall::TDllCall();
__fastcall TDllCall::~TDllCall();
// Attributes
public:
HINSTANCE hLibrary;
TMemoryStream *m_File;
void* m_pDevice;
void* m_pActReturn;
int nSizeOfData;
BOOL bGetData;
int nInfoReturn;
int nTagAdr, nMyAdr;
BOOL bConnect, bDisConnect;
int nFileHandle;
int nFileHandle1;
// Operations
public:
BOOL __fastcall LoadFunction();
String __fastcall ShowMessage(int nMessage, int nFontMsg);
String __fastcall AddZero(String strData, int nLength);
int __fastcall myatoi(char chChar);
String __fastcall Learch(const String& strSrc, char chChar);
String __fastcall HexToStr(int n);
void __fastcall WriteFile(int nAdr, int nInfoReturn, int nHandle,
String strSectorNum, String strOldAKey, String strOldBKey,
String strNewAKey, String strNewBKey);
String __fastcall AddAttGuardRecord(int nCount, ATTGUARDRECORD CardRecord);
String __fastcall AddPOSRecord(int nCount, POSRECORD CardRecord);
int __fastcall WriteAttGuardFile(int nCount, ATTGUARDRECORD CardRecord);
int __fastcall WritePOSFile(int nCount, POSRECORD CardRecord);
typedef void* __stdcall (OPENDEVICE)(int nMyAddress, HWND hWnd);
typedef void __stdcall (RECVEDITION)(LPTSTR lpEdition);
typedef BOOL __stdcall (CONNECT)(void* pDevice, LPCTSTR lpCommDef);
typedef void __stdcall (SETADDLOG)(void* pDevice, BOOL bAddLog);
typedef void __stdcall (SETINNERCODE)(void* pDevice, BOOL bBig5);
typedef void __stdcall (SETINNERCMD)(void* pDevice, BOOL bInner);
typedef void __stdcall (SETCOMMKEY)(void* pDevice, LPCTSTR lpCommKey);
typedef void __stdcall (SETWAITTIME)(void* pDevice, DWORD dwWaitTime);
typedef void* __stdcall (STARTICDMCMD)(void* pDevice, int nAddress, int nCommand,
void* pParameters = NULL, int nSizeOfParameter = 0);
typedef int __stdcall (GETSIZEOFDATA)(void* pCommand);
typedef BOOL __stdcall (GETDATA)(void* pCommand, void* pDataBuffer, int nSize);
typedef int __stdcall (GETCMDRESULT)(void* pCommand);
typedef void __stdcall (ENDICDMCMD)(void* pCommand);
typedef BOOL __stdcall (DISCONNECT)(void* pDevice);
typedef void __stdcall (CLOSEDEVICE)(void* pDevice);
typedef void __stdcall (SETMYADDRESS)(void* pDevice, int nAddress);
typedef void __stdcall (SENDFRAME)(void* pDevice, LPCTSTR lpSendFrm);
typedef void __stdcall (CLEARRECVSTR)(void* pDevice);
typedef BOOL __stdcall (RECVSTREAM)(void* pDevice, LPTSTR lpRecvStr);
typedef BOOL __stdcall (RECVHDLC)(void* pDevice, LPTSTR lpRecvStr);
SENDFRAME* lpSendFrame;
CLEARRECVSTR* lpClearRecvStr;
RECVSTREAM* lpRecvStream;
RECVHDLC* lpRecvHDLC;
OPENDEVICE* lpOpenDevice;
RECVEDITION* lpRecvEdition;
CONNECT* lpConnect;
SETADDLOG* lpSetAddLog;
SETINNERCODE* lpSetInnerCode;
SETINNERCMD* lpSetInnerCmd;
SETWAITTIME* lpSetWaitTime;
SETCOMMKEY* lpSetCommKey;
STARTICDMCMD* lpStartICDMCmd;
GETSIZEOFDATA* lpGetSizeOfData;
GETDATA* lpGetData;
GETCMDRESULT* lpGetCmdResult;
ENDICDMCMD* lpEndICDMCmd;
DISCONNECT* lpDisConnect;
CLOSEDEVICE* lpCloseDevice;
SETMYADDRESS* lpSetMyAddress;
// Generated message map functions
protected:
};
/////////////////////////////////////////////////////////////////////////////
#endif