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.

37 lines
955 B

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: 04/11/2002
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: LgUnknown.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of LgUnknown.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __LG__UNKNOWN__H__INCLUDED__
  15. #define __LG__UNKNOWN__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. class CLgUnknown :
  20. public IUnknown
  21. {
  22. protected:
  23. CLgUnknown() { m_RefCount = 1UL; }
  24. virtual ~CLgUnknown() { }
  25. public:
  26. virtual HRESULT STDMETHODCALLTYPE QueryInterface( REFIID riid, void** ppvObject );
  27. virtual ULONG STDMETHODCALLTYPE AddRef( void);
  28. virtual ULONG STDMETHODCALLTYPE Release( void);
  29. private:
  30. ULONG m_RefCount;
  31. };
  32. #endif