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.

44 lines
1.5 KiB

  1. #ifndef _NODENODESETTING_INCLUDED_
  2. #define _NODENODESETTING_INCLUDED_
  3. #include "WLBS_Root.h"
  4. ////////////////////////////////////////////////////////////////////////////////
  5. //
  6. // class CWLBS_ClusClusSetting
  7. //
  8. // Purpose: This class executes IWbemServices methods on behalf of the provider
  9. // and supports the MOF ClusterSetting class.
  10. //
  11. //
  12. ////////////////////////////////////////////////////////////////////////////////
  13. class CWLBS_ClusClusSetting : public CWlbs_Root
  14. {
  15. public:
  16. CWLBS_ClusClusSetting(CWbemServices* a_pNameSpace, IWbemObjectSink* a_pResponseHandler);
  17. static CWlbs_Root* Create(
  18. CWbemServices* a_pNameSpace,
  19. IWbemObjectSink* a_pResponseHandler
  20. );
  21. HRESULT GetInstance(
  22. const ParsedObjectPath* a_pParsedPath,
  23. long a_lFlags = 0, 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. private:
  31. //methods
  32. void FillWbemInstance (CWlbsClusterWrapper* pCluster,
  33. IWbemClassObject* a_pWbemInstance );
  34. void FindInstance( IWbemClassObject** a_ppWbemInstance );
  35. };
  36. #endif //_NODENODESETTING_INCLUDED_