12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #pragma once
- #ifndef DRDETECTOR_EXPORTS
- #ifdef _WIN64
- #ifdef _DEBUG
- #pragma comment(lib, "DrDetectorX64D.lib")
- #else
- #pragma comment(lib, "DrDetectorX64.lib")
- #endif
- #else
- #ifdef _DEBUG
- #pragma comment(lib, "DrDetectorD.lib")
- #else
- #pragma comment(lib, "DrDetector.lib")
- #endif
- #endif
- #endif
- #ifdef DRDETECTOR_EXPORTS
- #define DRDETECTOR_API __declspec(dllexport)
- #define DRDETECTOR_C_API extern "C" __declspec(dllexport)
- #else
- #define DRDETECTOR_API __declspec(dllimport)
- #define DRDETECTOR_C_API extern "C" __declspec(dllimport)
- #endif
- #include "ResDataObject.h"
- class DRDETECTOR_API DrDetector
- {
- public:
- DrDetector(void);
- virtual ~DrDetector(void);
- virtual bool Connect(ResDataObject &Connection);
- virtual bool Probe(ResDataObject &HardwareInfo);
- virtual bool SetWorkPath(const char *pWorkPath);
- virtual PVOID LoadLogicDevices();
- virtual void UnloadLogicDevices(PVOID p);
- virtual bool DisConnect();
- virtual bool OnNotify(HANDLE ExitNotify);
- };
|