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.

71 lines
1.9 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
  47. DECLARE_MESSAGE_MAP()
  48. public:
  49. virtual void EnableUserControls( BOOL bEnable );
  50. private:
  51. PSECURITY_DESCRIPTOR m_pNewSD;
  52. SECURITY_INFORMATION m_NewSeInfo;
  53. PFNDSCREATEISECINFO m_pfnCreateDsPage;
  54. LPDSSECINFO m_pSI;
  55. HWND m_hwndSecurity;
  56. };
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  59. #endif // !defined(AFX_COBJECT_H__D9D88A12_4AF9_11D1_AB57_00C04FB6C6FA__INCLUDED_)