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.

48 lines
1.1 KiB

  1. // HMDataElementStatistics.h: interface for the CHMDataElementStatistics class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_HMDATAELEMENTSTATISTICS_H__A28C24E2_348F_11D3_BE18_0000F87A3912__INCLUDED_)
  5. #define AFX_HMDATAELEMENTSTATISTICS_H__A28C24E2_348F_11D3_BE18_0000F87A3912__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "WbemClassObject.h"
  10. #include "HMPropertyStatus.h"
  11. #include "HMRuleStatus.h"
  12. class CHMDataElementStatistics : public CHMEvent
  13. {
  14. DECLARE_DYNCREATE(CHMDataElementStatistics)
  15. // Construction/Destruction
  16. public:
  17. CHMDataElementStatistics();
  18. virtual ~CHMDataElementStatistics();
  19. // Create
  20. public:
  21. HRESULT Create(const CString& sMachineName);
  22. HRESULT Create(IWbemClassObject* pObject);
  23. // Property Retreival Operations
  24. public:
  25. HRESULT GetAllProperties();
  26. // HMDataElementStatistics Properties
  27. public:
  28. CString m_sGUID;
  29. CString m_sDTime;
  30. COleSafeArray m_Statistics;
  31. PropertyStatusArray m_PropStats;
  32. CString m_sDateTime;
  33. SYSTEMTIME m_st;
  34. };
  35. #endif // !defined(AFX_HMDATAELEMENTSTATISTICS_H__A28C24E2_348F_11D3_BE18_0000F87A3912__INCLUDED_)