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.

68 lines
1.5 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. MCAObjectSink.h
  5. Abstract:
  6. (See module header of MCAObjectSink.cpp)
  7. Author:
  8. Abdullah Ustuner (AUstuner) 28-August-2002
  9. [Notes:]
  10. Header file for MCAObjectSink.cpp
  11. --*/
  12. #ifndef MCAOBJECTSINK_H
  13. #define MCAOBJECTSINK_H
  14. #include "mca.h"
  15. class MCATestEngine;
  16. class MCAObjectSink : public IWbemObjectSink
  17. {
  18. public:
  19. //
  20. // Public function prototypes
  21. //
  22. MCAObjectSink();
  23. ~MCAObjectSink(){};
  24. //
  25. // IUnknown functions
  26. //
  27. virtual ULONG STDMETHODCALLTYPE AddRef();
  28. virtual ULONG STDMETHODCALLTYPE Release();
  29. virtual HRESULT STDMETHODCALLTYPE QueryInterface(IN REFIID riid,
  30. OUT VOID** ppv);
  31. // IWbemObjectSink methods
  32. virtual HRESULT STDMETHODCALLTYPE Indicate(IN LONG lObjectCount,
  33. IN IWbemClassObject __RPC_FAR *__RPC_FAR *apObjArray
  34. );
  35. virtual HRESULT STDMETHODCALLTYPE SetStatus(IN LONG lFlags,
  36. IN HRESULT hResult,
  37. IN BSTR strParam,
  38. IN IWbemClassObject __RPC_FAR *pObjParam
  39. );
  40. private:
  41. //
  42. // Private variable declarations
  43. //
  44. LONG referenceCount;
  45. };
  46. #endif