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.

53 lines
1.7 KiB

  1. #ifndef _WLBSCLUSTER_INCLUDED_
  2. #define _WLBSCLUSTER_INCLUDED_
  3. #include "WLBS_Root.h"
  4. ////////////////////////////////////////////////////////////////////////////////
  5. //
  6. // class CWLBS_Cluster
  7. //
  8. // Purpose:
  9. //
  10. //
  11. ////////////////////////////////////////////////////////////////////////////////
  12. class CWLBS_Cluster : public CWlbs_Root
  13. {
  14. public:
  15. CWLBS_Cluster(CWbemServices* a_pNameSpace, IWbemObjectSink* a_pResponseHandler);
  16. static CWlbs_Root* Create(
  17. CWbemServices* a_pNameSpace,
  18. IWbemObjectSink* a_pResponseHandler
  19. );
  20. HRESULT GetInstance(
  21. const ParsedObjectPath* a_pParsedPath,
  22. long a_lFlags = 0,
  23. IWbemContext* a_pIContex = NULL
  24. );
  25. HRESULT EnumInstances(
  26. BSTR a_bstrClass = NULL,
  27. long a_lFlags = 0,
  28. IWbemContext* a_pIContex = NULL
  29. );
  30. HRESULT ExecMethod(
  31. const ParsedObjectPath* a_pParsedPath,
  32. const BSTR& a_strMethodName,
  33. long a_lFlags = 0,
  34. IWbemContext* a_pIContex = NULL,
  35. IWbemClassObject* a_pIInParams = NULL
  36. );
  37. private:
  38. void FillWbemInstance( IWbemClassObject* a_pWbemInstance,
  39. CWlbsClusterWrapper* pCluster,
  40. const DWORD a_dwStatus );
  41. };
  42. #endif _WLBSCLUSTER_INCLUDED_