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.

51 lines
1.5 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1999-2001 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // Callback.h
  7. //
  8. // Description:
  9. // CCallback 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. // CCallback
  18. class CCallback
  19. : public IClusCfgCallback
  20. {
  21. private:
  22. // IUnknown
  23. LONG m_cRef;
  24. private: // Methods
  25. CCallback( void );
  26. ~CCallback( 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. // IClusCfgCallback
  35. STDMETHOD( SendStatusReport )( BSTR bstrNodeNameIn,
  36. CLSID clsidTaskMajorIn,
  37. CLSID clsidTaskMinorIn,
  38. ULONG ulMinIn,
  39. ULONG ulMaxIn,
  40. ULONG ulCurrentIn,
  41. HRESULT hrStatusIn,
  42. BSTR bstrDescriptionIn
  43. );
  44. }; //*** class CCallback