12345678910111213141516171819202122232425262728293031 |
- #ifndef API_H
- #define API_H
- #ifdef IDR_API_EXPORTS
- #define IDR_API __declspec(dllexport) __stdcall
- #else
- #define IDR_API __declspec(dllimport) __stdcall
- #endif
- #include <windows.h>
- #include <STDIO.H>
- #include <iostream>
- #include <atlimage.h>
- #include <string>
- using namespace std;
- #ifdef __cplusplus
- extern "C"{
- #endif
- int IDR_API GetIdCardInfo(int port, unsigned int baud, char* extendCmd, char* idCardInfo, int timeout, int ifCreatePhoto);
- int IDR_API GhcVersion(char *psVersionInfo);
-
- #ifdef __cplusplus
- }
- #endif
- #endif
|