Leaked source code of windows server 2003
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.

68 lines
1.8 KiB

  1. // SnapMgr.h : header file for Snapin Manager property page
  2. //
  3. #ifndef __SNAPMGR_H__
  4. #define __SNAPMGR_H__
  5. #include "cookie.h"
  6. // forward declarations
  7. class ComponentData;
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CSchmMgmtGeneral dialog
  10. class CSchmMgmtGeneral : public CPropertyPage
  11. {
  12. // DECLARE_DYNCREATE(CSchmMgmtGeneral)
  13. // Construction
  14. public:
  15. CSchmMgmtGeneral();
  16. ~CSchmMgmtGeneral();
  17. // load initial state into CSchmMgmtGeneral
  18. void Load( Cookie& refcookie );
  19. // Dialog Data
  20. //{{AFX_DATA(CSchmMgmtGeneral)
  21. CString m_strMachineName;
  22. int m_iRadioObjectType;
  23. int m_iRadioIsLocal;
  24. //}}AFX_DATA
  25. // Overrides
  26. // ClassWizard generate virtual function overrides
  27. //{{AFX_VIRTUAL(CSchmMgmtGeneral)
  28. public:
  29. virtual BOOL OnWizardFinish();
  30. protected:
  31. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  32. //}}AFX_VIRTUAL
  33. // Implementation
  34. protected:
  35. // Generated message map functions
  36. //{{AFX_MSG(CSchmMgmtGeneral)
  37. virtual BOOL OnInitDialog();
  38. afx_msg void OnRadioLocalMachine();
  39. afx_msg void OnRadioSpecificMachine();
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. public:
  43. // User defined member variables
  44. class ComponentData * m_pSchmMgmtData;
  45. BOOL m_fServiceDialog;
  46. // This mechanism deletes the CSchmMgmtGeneral when the property sheet is finished
  47. LPFNPSPCALLBACK m_pfnOriginalPropSheetPageProc;
  48. INT m_refcount;
  49. static UINT CALLBACK PropSheetPageProc(
  50. HWND hwnd,
  51. UINT uMsg,
  52. LPPROPSHEETPAGE ppsp );
  53. };
  54. #endif // ~__SNAPMGR_H__