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.

45 lines
1.1 KiB

  1. // HMPropertyStatus.h: interface for the CHMPropertyStatus class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_HMPROPERTYSTATUS_H__A28C24E4_348F_11D3_BE18_0000F87A3912__INCLUDED_)
  5. #define AFX_HMPROPERTYSTATUS_H__A28C24E4_348F_11D3_BE18_0000F87A3912__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "WbemClassObject.h"
  10. #include "HMPropertyStatusInstance.h"
  11. class CHMPropertyStatus : public CWbemClassObject
  12. {
  13. DECLARE_DYNCREATE(CHMPropertyStatus)
  14. // Construction/Destruction
  15. public:
  16. CHMPropertyStatus();
  17. virtual ~CHMPropertyStatus();
  18. // Create
  19. public:
  20. HRESULT Create(const CString& sMachineName);
  21. HRESULT Create(IWbemClassObject* pObject);
  22. // Property Retreival Operations
  23. public:
  24. HRESULT GetAllProperties();
  25. // HMDataElementStatistics Properties
  26. public:
  27. CString m_sPropertyName;
  28. COleSafeArray m_Instances;
  29. PropertyStatusInstanceArray m_PropStatusInstances;
  30. };
  31. typedef CTypedPtrArray<CObArray,CHMPropertyStatus*> PropertyStatusArray;
  32. #endif // !defined(AFX_HMPROPERTYSTATUS_H__A28C24E4_348F_11D3_BE18_0000F87A3912__INCLUDED_)