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.

92 lines
2.9 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994 - 1998.
  5. //
  6. // File: UpList.h
  7. //
  8. // Contents: upgrade relationships property sheet
  9. //
  10. // Classes: CUpgradeList
  11. //
  12. // History: 03-14-1998 stevebl Commented
  13. //
  14. //---------------------------------------------------------------------------
  15. #if !defined(AFX_UPLIST_H__3ACA8212_B87C_11D1_BD2A_00C04FB9603F__INCLUDED_)
  16. #define AFX_UPLIST_H__3ACA8212_B87C_11D1_BD2A_00C04FB9603F__INCLUDED_
  17. #if _MSC_VER >= 1000
  18. #pragma once
  19. #endif // _MSC_VER >= 1000
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CUpgradeList dialog
  22. class CUpgradeList : public CPropertyPage
  23. {
  24. DECLARE_DYNCREATE(CUpgradeList)
  25. // Construction
  26. public:
  27. CUpgradeList();
  28. ~CUpgradeList();
  29. // Dialog Data
  30. //{{AFX_DATA(CUpgradeList)
  31. enum { IDD = IDD_UPGRADES };
  32. CListBox m_UpgradedBy;
  33. CListBox m_Upgrades;
  34. BOOL m_fForceUpgrade;
  35. BOOL m_fRSOP;
  36. //}}AFX_DATA
  37. CUpgradeList ** m_ppThis;
  38. CAppData * m_pData;
  39. LONG_PTR m_hConsoleHandle;
  40. MMC_COOKIE m_cookie;
  41. CScopePane * m_pScopePane;
  42. BOOL m_fMachine;
  43. #if 0
  44. LPGPEINFORMATION m_pIGPEInformation;
  45. #endif
  46. map<CString, CUpgradeData> m_UpgradeList;
  47. map<CString, CString> m_NameIndex;
  48. IClassAdmin * m_pIClassAdmin;
  49. BOOL m_fPreDeploy;
  50. // Overrides
  51. // ClassWizard generate virtual function overrides
  52. //{{AFX_VIRTUAL(CUpgradeList)
  53. public:
  54. virtual BOOL OnApply();
  55. protected:
  56. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  57. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  58. //}}AFX_VIRTUAL
  59. // Implementation
  60. protected:
  61. // Generated message map functions
  62. //{{AFX_MSG(CUpgradeList)
  63. virtual BOOL OnInitDialog();
  64. afx_msg void OnDblclkList1();
  65. afx_msg void OnDblclkList2();
  66. afx_msg void OnRequire();
  67. afx_msg void OnAdd();
  68. afx_msg void OnRemove();
  69. afx_msg void OnEdit();
  70. afx_msg void OnSelchangeList1();
  71. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  72. //}}AFX_MSG
  73. DECLARE_MESSAGE_MAP()
  74. void RefreshData(void);
  75. BOOL IsUpgradeLegal(CString sz);
  76. CAddUpgrade m_dlgAdd;
  77. BOOL m_fModified;
  78. };
  79. //{{AFX_INSERT_LOCATION}}
  80. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  81. #endif // !defined(AFX_UPLIST_H__3ACA8212_B87C_11D1_BD2A_00C04FB9603F__INCLUDED_)