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.

72 lines
2.0 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation 1996-2001.
  5. //
  6. // File: CObject.h
  7. //
  8. // Contents: definition of CConfigObject
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_COBJECT_H__D9D88A12_4AF9_11D1_AB57_00C04FB6C6FA__INCLUDED_)
  12. #define AFX_COBJECT_H__D9D88A12_4AF9_11D1_AB57_00C04FB6C6FA__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CConfigObject dialog
  18. class CConfigObject : public CAttribute
  19. {
  20. // Construction
  21. public:
  22. void Initialize(CResult *pData);
  23. CConfigObject(UINT nTemplateID); // standard constructor
  24. // Dialog Data
  25. //{{AFX_DATA(CConfigObject)
  26. enum { IDD = IDD_CONFIG_OBJECT };
  27. int m_radConfigPrevent;
  28. int m_radInheritOverwrite;
  29. //}}AFX_DATA
  30. // Overrides
  31. // ClassWizard generated virtual function overrides
  32. //{{AFX_VIRTUAL(CConfigObject)
  33. protected:
  34. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. protected:
  38. // Generated message map functions
  39. //{{AFX_MSG(CConfigObject)
  40. virtual BOOL OnApply();
  41. virtual void OnCancel();
  42. virtual BOOL OnInitDialog();
  43. afx_msg void OnTemplateSecurity();
  44. afx_msg void OnConfig();
  45. afx_msg void OnPrevent();
  46. afx_msg void OnOverwriteInherit();
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. public:
  50. virtual void EnableUserControls( BOOL bEnable );
  51. private:
  52. PSECURITY_DESCRIPTOR m_pNewSD;
  53. SECURITY_INFORMATION m_NewSeInfo;
  54. PFNDSCREATEISECINFO m_pfnCreateDsPage;
  55. LPDSSECINFO m_pSI;
  56. HWND m_hwndSecurity;
  57. };
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  60. #endif // !defined(AFX_COBJECT_H__D9D88A12_4AF9_11D1_AB57_00C04FB6C6FA__INCLUDED_)