Source code of Windows XP (NT5)
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.

42 lines
838 B

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1999-2000 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // Dummy.h
  7. //
  8. // Description:
  9. // CDummy implementation.
  10. //
  11. // Maintained By:
  12. // Geoffrey Pease (GPease) 22-NOV-1999
  13. //
  14. //////////////////////////////////////////////////////////////////////////////
  15. #pragma once
  16. // CDummy
  17. class
  18. CDummy:
  19. public IDummy
  20. {
  21. private:
  22. // IUnknown
  23. LONG m_cRef;
  24. private: // Methods
  25. CDummy( );
  26. ~CDummy();
  27. STDMETHOD( Init )( void );
  28. public: // Methods
  29. static HRESULT
  30. S_HrCreateInstance( IUnknown ** ppunkOut );
  31. // IUnknown
  32. STDMETHOD( QueryInterface )( REFIID riid, LPVOID *ppv );
  33. STDMETHOD_( ULONG, AddRef )( void );
  34. STDMETHOD_( ULONG, Release )( void );
  35. }; // class CDummy