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.

74 lines
1.7 KiB

  1. // compage1.h : header file
  2. //
  3. //Common Page
  4. #define LOGBATNAME "LogFileBatchSize"
  5. #define MINLOGFILEBATCHSIZE 0
  6. #define MAXLOGFILEBATCHSIZE 0x7FFF //Specify in KB
  7. #define DEFAULTLOGFILEBATCHSIZE (64 * 1024)
  8. #define MEMORYCACHENAME "MemoryCacheSize"
  9. #define MINMEMORYCACHESIZE 0
  10. #define MAXMEMORYCACHESIZE (0xFFFFFFFF / (1024 * 1024)) //Specify in MB
  11. #define DEFAULTMEMORYCACHESIZE (3 * 1024 * 1024)
  12. #define LISTENBACKLOGNAME "ListenBacklog"
  13. #define MINLISTENBACKLOG 0
  14. #define MAXLISTENBACKLOG 0x7fff
  15. #define DEFAULTLISTENBACKLOG 15
  16. enum COMMON_NUM_REG_ENTRIES {
  17. ComPage_LogBat,
  18. ComPage_MemCache,
  19. ComPage_ListenBacklog,
  20. ComPage_TotalNumRegEntries
  21. };
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CCOMPAGE1 dialog
  24. class CCOMPAGE1 : public CGenPage
  25. {
  26. DECLARE_DYNCREATE(CCOMPAGE1)
  27. // Construction
  28. public:
  29. CCOMPAGE1();
  30. ~CCOMPAGE1();
  31. // Dialog Data
  32. //{{AFX_DATA(CCOMPAGE1)
  33. enum { IDD = IDD_COMPAGE1 };
  34. CSpinButtonCtrl m_spinListenBacklog;
  35. CSpinButtonCtrl m_spinLogBatSpin1;
  36. CSpinButtonCtrl m_spinCacheSpin1;
  37. //}}AFX_DATA
  38. // Overrides
  39. // ClassWizard generate virtual function overrides
  40. //{{AFX_VIRTUAL(CCOMPAGE1)
  41. protected:
  42. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  43. virtual void SaveInfo(void);
  44. //}}AFX_VIRTUAL
  45. // Implementation
  46. protected:
  47. // Generated message map functions
  48. //{{AFX_MSG(CCOMPAGE1)
  49. virtual BOOL OnInitDialog();
  50. afx_msg void OnChangeCachedata1();
  51. afx_msg void OnChangeLogbatdata1();
  52. afx_msg void OnChangeListenbacklogdata1();
  53. //}}AFX_MSG
  54. NUM_REG_ENTRY m_binNumericRegistryEntries[ComPage_TotalNumRegEntries];
  55. DECLARE_MESSAGE_MAP()
  56. };