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.

88 lines
2.1 KiB

  1. // ftpgenp1.h : header file
  2. //
  3. #define ENABLEPORTATTACKNAME "EnablePortAttack"
  4. #define DEFAULTENABLEPORTATTACK FALSEVALUE
  5. #define ALLOWGUESTACCESSNAME "AllowGuestAccess"
  6. #define DEFAULTALLOWGUESTACCESS TRUEVALUE
  7. #define ANNOTATEDIRECTORIESNAME "AnnotateDirectories"
  8. #define DEFAULTANNOTATEDIRECTORIES FALSEVALUE
  9. #define MSDOSDIROUTPUTNAME "MsdosDirOutput"
  10. #define DEFAULTMSDOSDIROUTPUT TRUEVALUE
  11. #define LOWERCASEFILESNAME "LowercaseFiles"
  12. #define DEFAULTLOWERCASEFILES FALSEVALUE
  13. enum FTP_NUM_REG_ENTRIES {
  14. FTPPage_EnableSvcLoc,
  15. FTPPage_LogAnonymous,
  16. FTPPage_LogNonAnonymous,
  17. FTPPage_EnablePortAttack,
  18. FTPPage_AllowGuestAccess,
  19. FTPPage_AnnotateDirectories,
  20. FTPPage_MsdosDirOutput,
  21. FTPPage_LowercaseFiles,
  22. FTPPage_TotalNumRegEntries
  23. };
  24. /////////////////////////////////////////////////////////////////////////////
  25. // CFTPGENP1 dialog
  26. class CFTPGENP1 : public CGenPage
  27. {
  28. DECLARE_DYNCREATE(CFTPGENP1)
  29. // Construction
  30. public:
  31. CFTPGENP1();
  32. ~CFTPGENP1();
  33. // Dialog Data
  34. //{{AFX_DATA(CFTPGENP1)
  35. enum { IDD = IDD_FTPPAGE1 };
  36. CButton m_cboxLowercaseFiles;
  37. CButton m_cboxMsdosDirOutput;
  38. CButton m_cboxEnPortAttack;
  39. CButton m_cboxAnnotateDirectories;
  40. CButton m_cboxAllowGuestAccess;
  41. CButton m_cboxLogNonAnon;
  42. CButton m_cboxLogAnon;
  43. CButton m_cboxEnSvcLoc;
  44. //}}AFX_DATA
  45. // Overrides
  46. // ClassWizard generate virtual function overrides
  47. //{{AFX_VIRTUAL(CFTPGENP1)
  48. protected:
  49. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  50. virtual void SaveInfo(void);
  51. //}}AFX_VIRTUAL
  52. // Implementation
  53. protected:
  54. // Generated message map functions
  55. //{{AFX_MSG(CFTPGENP1)
  56. virtual BOOL OnInitDialog();
  57. afx_msg void OnEnportattackdata1();
  58. afx_msg void OnEnsvclocdata1();
  59. afx_msg void OnLoganondata1();
  60. afx_msg void OnLognonanondata1();
  61. afx_msg void OnAllowguestaccessdata1();
  62. afx_msg void OnAnnotatedirectoriesdata1();
  63. afx_msg void OnLowercasefilesdata1();
  64. afx_msg void OnMsdosdiroutput();
  65. //}}AFX_MSG
  66. NUM_REG_ENTRY m_binNumericRegistryEntries[FTPPage_TotalNumRegEntries];
  67. DECLARE_MESSAGE_MAP()
  68. };