Leaked source code of windows server 2003
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.

40 lines
944 B

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