Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.0 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT: Laserguard libraries
  7. // SUBSYSTEM: LgLibAdvantech
  8. // FILE: LgAdvantechDeviceEnumerator.h
  9. // AUTHOR: Chizhevskiy Sergey
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of CLgAdvantechDeviceEnumerator
  13. //----------------------------------------------------------------------------
  14. #ifndef __LG__ADVANTECH__DEVICE__ENUMERATOR__H__INCLUDED__
  15. #define __LG__ADVANTECH__DEVICE__ENUMERATOR__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. #include "AdsApi\Include\Driver.h"
  20. class CLgAdvantechDeviceEnumerator
  21. {
  22. public:
  23. CLgAdvantechDeviceEnumerator();
  24. virtual ~CLgAdvantechDeviceEnumerator();
  25. public:
  26. BOOL Create();
  27. void Destroy();
  28. public:
  29. INT GetDeviceCount();
  30. DEVLIST *GetDevice( INT nDevice );
  31. private:
  32. INT m_nDeviceCount;
  33. DEVLIST *m_pDeviceList;
  34. };
  35. #endif