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
1.9 KiB

  1. /*++
  2. (c) 1998 Seagate Software, Inc. All rights reserved.
  3. Module Name:
  4. PrMrLvl.h
  5. Abstract:
  6. Header file for Managed Resource Level
  7. property page.
  8. Author:
  9. Art Bragg [abragg] 04-Aug-1997
  10. Revision History:
  11. --*/
  12. #ifndef _PRMRLV_H
  13. #define _PRMRLV_H
  14. #pragma once
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CPrMrLvl dialog
  17. class CPrMrLvl : public CSakVolPropPage
  18. {
  19. // Construction
  20. public:
  21. CPrMrLvl();
  22. ~CPrMrLvl();
  23. // Dialog Data
  24. //{{AFX_DATA(CPrMrLvl)
  25. enum { IDD = IDD_PROP_MANRES_LEVELS };
  26. CStatic m_staticActual4Digit;
  27. CStatic m_staticDesired4Digit;
  28. CEdit m_editTime;
  29. CEdit m_editSize;
  30. CEdit m_editLevel;
  31. CSpinButtonCtrl m_spinTime;
  32. CSpinButtonCtrl m_spinSize;
  33. CSpinButtonCtrl m_spinLevel;
  34. long m_hsmLevel;
  35. DWORD m_fileSize;
  36. UINT m_accessTime;
  37. //}}AFX_DATA
  38. // Overrides
  39. // ClassWizard generate virtual function overrides
  40. //{{AFX_VIRTUAL(CPrMrLvl)
  41. public:
  42. virtual BOOL OnApply();
  43. protected:
  44. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  45. //}}AFX_VIRTUAL
  46. // Implementation
  47. protected:
  48. // Generated message map functions
  49. //{{AFX_MSG(CPrMrLvl)
  50. virtual BOOL OnInitDialog();
  51. afx_msg void OnChangeEditLevel();
  52. afx_msg void OnChangeEditSize();
  53. afx_msg void OnChangeEditTime();
  54. //}}AFX_MSG
  55. DECLARE_MESSAGE_MAP()
  56. public:
  57. CComPtr<IFsaResource> m_pFsaResource;
  58. private:
  59. void SetDesiredFreePctControl (int desiredPct);
  60. HRESULT InitDialogMultiSelect();
  61. HRESULT OnApplyMultiSelect();
  62. BOOL m_fChangingByCode;
  63. LONGLONG m_capacity;
  64. BOOL m_bMultiSelect;
  65. };
  66. //{{AFX_INSERT_LOCATION}}
  67. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  68. //}}AFX
  69. #endif