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.

73 lines
1.9 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation 1996-2001.
  5. //
  6. // File: cret.h
  7. //
  8. // Contents: definition of CConfigRet
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_CRET_H__44850C1C_350B_11D1_AB4F_00C04FB6C6FA__INCLUDED_)
  12. #define AFX_CRET_H__44850C1C_350B_11D1_AB4F_00C04FB6C6FA__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. #include "ddwarn.h"
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CConfigRet dialog
  19. class CConfigRet : public CAttribute
  20. {
  21. // Construction
  22. public:
  23. void Initialize(CResult *pResult);
  24. virtual void SetInitialValue(DWORD_PTR dw);
  25. CConfigRet(UINT nTemplateID); // standard constructor
  26. // Dialog Data
  27. //{{AFX_DATA(CConfigRet)
  28. enum { IDD = IDD_CONFIG_RET };
  29. CString m_strAttrName;
  30. int m_rabRetention;
  31. //}}AFX_DATA
  32. // Overrides
  33. // ClassWizard generated virtual function overrides
  34. //{{AFX_VIRTUAL(CConfigRet)
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. protected:
  40. // Generated message map functions
  41. //{{AFX_MSG(CConfigRet)
  42. virtual BOOL OnApply();
  43. virtual BOOL OnInitDialog();
  44. afx_msg void OnRetention();
  45. //}}AFX_MSG
  46. DECLARE_MESSAGE_MAP()
  47. CDlgDependencyWarn DDWarn;
  48. public:
  49. UINT m_StartIds;
  50. };
  51. #define RADIO_RETAIN_BY_DAYS 0
  52. #define RADIO_RETAIN_AS_NEEDED 1
  53. #define RADIO_RETAIN_MANUALLY 2
  54. #define SCE_RETAIN_BY_DAYS 1
  55. #define SCE_RETAIN_AS_NEEDED 0
  56. #define SCE_RETAIN_MANUALLY 2
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  59. #endif // !defined(AFX_CRET_H__44850C1C_350B_11D1_AB4F_00C04FB6C6FA__INCLUDED_)