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.

74 lines
1.9 KiB

  1. #if !defined(AFX_DPPERFMONPAGE_H__52566159_C9D1_11D2_BD8D_0000F87A3912__INCLUDED_)
  2. #define AFX_DPPERFMONPAGE_H__52566159_C9D1_11D2_BD8D_0000F87A3912__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // DPPerfMonPage.h : header file
  7. //
  8. #include "HMPropertyPage.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CDPPerfMonPage dialog
  11. class CDPPerfMonPage : public CHMPropertyPage
  12. {
  13. DECLARE_DYNCREATE(CDPPerfMonPage)
  14. // Construction
  15. public:
  16. CDPPerfMonPage();
  17. ~CDPPerfMonPage();
  18. // Dialog Data
  19. //{{AFX_DATA(CDPPerfMonPage)
  20. enum { IDD = IDD_DATAPOINT_PERFMON };
  21. CListCtrl m_Properties;
  22. BOOL m_bRequireReset;
  23. CString m_sInstance;
  24. CString m_sObject;
  25. //}}AFX_DATA
  26. bool m_bNT5Perfdata;
  27. CString m_sNamespace;
  28. // Overrides
  29. // ClassWizard generate virtual function overrides
  30. //{{AFX_VIRTUAL(CDPPerfMonPage)
  31. public:
  32. virtual void OnFinalRelease();
  33. virtual void OnOK();
  34. virtual BOOL OnApply();
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. protected:
  40. void UpdateProperties();
  41. // Generated message map functions
  42. //{{AFX_MSG(CDPPerfMonPage)
  43. virtual BOOL OnInitDialog();
  44. afx_msg void OnDestroy();
  45. afx_msg void OnButtonBrowseInstance();
  46. afx_msg void OnButtonBrowseObject();
  47. afx_msg void OnCheckRequireReset();
  48. afx_msg void OnChangeEditInstance();
  49. afx_msg void OnChangeEditObject();
  50. afx_msg void OnClickListProperties(NMHDR* pNMHDR, LRESULT* pResult);
  51. //}}AFX_MSG
  52. DECLARE_MESSAGE_MAP()
  53. // Generated OLE dispatch map functions
  54. //{{AFX_DISPATCH(CDPPerfMonPage)
  55. // NOTE - the ClassWizard will add and remove member functions here.
  56. //}}AFX_DISPATCH
  57. DECLARE_DISPATCH_MAP()
  58. DECLARE_INTERFACE_MAP()
  59. };
  60. //{{AFX_INSERT_LOCATION}}
  61. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  62. #endif // !defined(AFX_DPPERFMONPAGE_H__52566159_C9D1_11D2_BD8D_0000F87A3912__INCLUDED_)