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.

91 lines
2.6 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994 - 1998.
  5. //
  6. // File: Product.h
  7. //
  8. // Contents: product info property page
  9. //
  10. // Classes: CProduct
  11. //
  12. // History: 03-14-1998 stevebl Commented
  13. //
  14. //---------------------------------------------------------------------------
  15. #if !defined(AFX_PRODUCT_H__2601C6D8_8C6B_11D1_984D_00C04FB9603F__INCLUDED_)
  16. #define AFX_PRODUCT_H__2601C6D8_8C6B_11D1_984D_00C04FB9603F__INCLUDED_
  17. #if _MSC_VER >= 1000
  18. #pragma once
  19. #endif // _MSC_VER >= 1000
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CProduct dialog
  22. class CProduct : public CPropertyPage
  23. {
  24. DECLARE_DYNCREATE(CProduct)
  25. // Construction
  26. public:
  27. CProduct();
  28. ~CProduct();
  29. CProduct ** m_ppThis;
  30. // Dialog Data
  31. //{{AFX_DATA(CProduct)
  32. enum { IDD = IDD_PRODUCT };
  33. CString m_szVersion;
  34. CString m_szPublisher;
  35. CString m_szLanguage;
  36. CString m_szContact;
  37. CString m_szPhone;
  38. CString m_szURL;
  39. CString m_szName;
  40. CString m_szPlatform;
  41. CString m_szRevision;
  42. //}}AFX_DATA
  43. CAppData * m_pData;
  44. IClassAdmin * m_pIClassAdmin;
  45. LONG_PTR m_hConsoleHandle;
  46. MMC_COOKIE m_cookie;
  47. CScopePane * m_pScopePane;
  48. map<MMC_COOKIE, CAppData> * m_pAppData;
  49. BOOL m_fPreDeploy;
  50. LPGPEINFORMATION m_pIGPEInformation;
  51. BOOL m_fMachine;
  52. BOOL m_fRSOP;
  53. // Overrides
  54. // ClassWizard generate virtual function overrides
  55. //{{AFX_VIRTUAL(CProduct)
  56. public:
  57. virtual BOOL OnApply();
  58. protected:
  59. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  60. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  61. //}}AFX_VIRTUAL
  62. void RefreshData(void);
  63. // Implementation
  64. protected:
  65. // Generated message map functions
  66. //{{AFX_MSG(CProduct)
  67. afx_msg void OnChangeName();
  68. afx_msg void OnChange();
  69. virtual BOOL OnInitDialog();
  70. afx_msg void OnKillfocusEdit1();
  71. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  72. //}}AFX_MSG
  73. DECLARE_MESSAGE_MAP()
  74. };
  75. //{{AFX_INSERT_LOCATION}}
  76. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  77. #endif // !defined(AFX_PRODUCT_H__2601C6D8_8C6B_11D1_984D_00C04FB9603F__INCLUDED_)