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.9 KiB

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