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.

77 lines
2.0 KiB

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