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: CConfigPrivs.h
  7. //
  8. // Contents: definition of CConfigRet
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_CPRIVS_H__3C25C0A7_F23B_11D0_9C6E_00C04FB6C6FA__INCLUDED_)
  12. #define AFX_CPRIVS_H__3C25C0A7_F23B_11D0_9C6E_00C04FB6C6FA__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. #include "attr.h"
  17. #include "cookie.h"
  18. #include "resource.h"
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CConfigPrivs dialog
  21. class CConfigPrivs : public CAttribute {
  22. // Construction
  23. public:
  24. CConfigPrivs(UINT nTemplateID); // standard constructor
  25. // Dialog Data
  26. //{{AFX_DATA(CConfigPrivs)
  27. enum { IDD = IDD_CONFIG_PRIVS };
  28. CListBox m_lbGrant;
  29. CButton m_btnRemove;
  30. CButton m_btnAdd;
  31. CButton m_btnTitle;
  32. //}}AFX_DATA
  33. // Overrides
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CConfigPrivs)
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. protected:
  41. // Generated message map functions
  42. //{{AFX_MSG(CConfigPrivs)
  43. afx_msg void OnAdd();
  44. afx_msg void OnRemove();
  45. virtual BOOL OnApply();
  46. virtual void OnCancel();
  47. virtual BOOL OnInitDialog();
  48. afx_msg void OnConfigure();
  49. afx_msg void OnSelChange();
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. virtual PSCE_PRIVILEGE_ASSIGNMENT GetPrivData();
  53. virtual void SetPrivData(PSCE_PRIVILEGE_ASSIGNMENT ppa);
  54. virtual void SetInitialValue(DWORD_PTR dw);
  55. BOOL m_fDirty;
  56. private:
  57. BOOL m_bOriginalConfigure;
  58. };
  59. //{{AFX_INSERT_LOCATION}}
  60. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  61. #endif // !defined(AFX_CPRIVS_H__3C25C0A7_F23B_11D0_9C6E_00C04FB6C6FA__INCLUDED_)