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.

70 lines
1.8 KiB

  1. #if !defined(AFX_DPWMIPOLLEDQUERYPAGE_H__28F3C7F6_2726_11D3_9390_00A0CC406605__INCLUDED_)
  2. #define AFX_DPWMIPOLLEDQUERYPAGE_H__28F3C7F6_2726_11D3_9390_00A0CC406605__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // DPWmiPolledQueryPage.h : header file
  7. //
  8. #include "HMPropertyPage.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CDPWmiPolledQueryPage dialog
  11. class CDPWmiPolledQueryPage : public CHMPropertyPage
  12. {
  13. DECLARE_DYNCREATE(CDPWmiPolledQueryPage)
  14. // Construction
  15. public:
  16. CDPWmiPolledQueryPage();
  17. ~CDPWmiPolledQueryPage();
  18. // Dialog Data
  19. //{{AFX_DATA(CDPWmiPolledQueryPage)
  20. enum { IDD = IDD_DATAPOINT_WMI_POLLED_QUERY };
  21. CListCtrl m_Properties;
  22. CString m_sClass;
  23. CString m_sNamespace;
  24. CString m_sQuery;
  25. BOOL m_bRequireReset;
  26. //}}AFX_DATA
  27. // operations
  28. protected:
  29. void ConstructQuery();
  30. // Overrides
  31. // ClassWizard generate virtual function overrides
  32. //{{AFX_VIRTUAL(CDPWmiPolledQueryPage)
  33. public:
  34. virtual void OnOK();
  35. virtual BOOL OnApply();
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. protected:
  41. void UpdateProperties();
  42. // Generated message map functions
  43. //{{AFX_MSG(CDPWmiPolledQueryPage)
  44. virtual BOOL OnInitDialog();
  45. afx_msg void OnDestroy();
  46. afx_msg void OnButtonBrowseNamespace();
  47. afx_msg void OnButtonBrowseClass();
  48. afx_msg void OnChangeEditClass();
  49. afx_msg void OnChangeEditNamespace();
  50. afx_msg void OnChangeEditQuery();
  51. afx_msg void OnCheckRequireReset();
  52. afx_msg void OnClickListProperties(NMHDR* pNMHDR, LRESULT* pResult);
  53. //}}AFX_MSG
  54. DECLARE_MESSAGE_MAP()
  55. };
  56. //{{AFX_INSERT_LOCATION}}
  57. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  58. #endif // !defined(AFX_DPWMIPOLLEDQUERYPAGE_H__28F3C7F6_2726_11D3_9390_00A0CC406605__INCLUDED_)