Source code of Windows XP (NT5)
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.

89 lines
2.3 KiB

  1. // webgenp1.h : header file
  2. //
  3. #define MAXCONNECTIONSNAME "MaxConnections"
  4. #define MINMAXCONNECTIONS 0
  5. #define MAXMAXCONNECTIONS 0x7fff
  6. #define DEFAULTMAXCONNECTIONS 20 * 100
  7. #define DIRBROWSECONTROLNAME "Dir Browse Control"
  8. #define DEFAULTDIRBROWSECONTROL 0xc000001e
  9. #define NTAUTHENTICATIONPROVIDERSNAME "NTAuthenticationProviders"
  10. #define DEFAULTNTAUTHENTICATIONPROVIDERS "NTLM"
  11. #define ACCESSDENIEDMESSAGENAME "AccessDeniedMessage"
  12. #define DEFAULTACCESSDENIEDMESSAGE ""
  13. enum WEB_NUM_REG_ENTRIES {
  14. WebPage_EnableSvcLoc,
  15. WebPage_LogAnonymous,
  16. WebPage_LogNonAnonymous,
  17. WebPage_CheckForWAISDB,
  18. WebPage_MaxConnections,
  19. WebPage_DirBrowseControl,
  20. WebPage_TotalNumRegEntries
  21. };
  22. enum WEB_STRING_REG_ENTRIES {
  23. WebPage_NTAuthenticationProviders,
  24. WebPage_AccessDeniedMessage,
  25. WebPage_TotalStringRegEntries
  26. };
  27. /////////////////////////////////////////////////////////////////////////////
  28. // CWEBGENP1 dialog
  29. class CWEBGENP1 : public CGenPage
  30. {
  31. DECLARE_DYNCREATE(CWEBGENP1)
  32. // Construction
  33. public:
  34. CWEBGENP1();
  35. ~CWEBGENP1();
  36. // Dialog Data
  37. //{{AFX_DATA(CWEBGENP1)
  38. enum { IDD = IDD_WEBGENPAGE1 };
  39. CEdit m_editDirBrowseControl;
  40. CSpinButtonCtrl m_spinMaxConnections;
  41. CButton m_cboxLogNonAnon;
  42. CButton m_cboxLogAnon;
  43. CButton m_cboxEnWais;
  44. CButton m_cboxEnSvcLoc;
  45. DWORD m_ulDirBrowseControl;
  46. CString m_strNTAuthenticationProviders;
  47. CString m_strWebAccessDeniedMessage;
  48. //}}AFX_DATA
  49. // Overrides
  50. // ClassWizard generate virtual function overrides
  51. //{{AFX_VIRTUAL(CWEBGENP1)
  52. protected:
  53. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  54. virtual void SaveInfo(void);
  55. //}}AFX_VIRTUAL
  56. // Implementation
  57. protected:
  58. // Generated message map functions
  59. //{{AFX_MSG(CWEBGENP1)
  60. afx_msg void OnEnsvclocdata1();
  61. afx_msg void OnEnwaisdata1();
  62. afx_msg void OnLoganondata1();
  63. afx_msg void OnLognonanondata1();
  64. virtual BOOL OnInitDialog();
  65. afx_msg void OnChangeMaxconnectionsdata1();
  66. afx_msg void OnChangeDirbrowsecontroldata1();
  67. afx_msg void OnChangeNtauthenticatoinprovidersdata1();
  68. afx_msg void OnChangeNtauthenticationprovidersdata1();
  69. afx_msg void OnChangeWebaccessdeniedmessagedata1();
  70. //}}AFX_MSG
  71. NUM_REG_ENTRY m_binNumericRegistryEntries[WebPage_TotalNumRegEntries];
  72. STRING_REG_ENTRY m_binStringRegistryEntries[WebPage_TotalStringRegEntries];
  73. DECLARE_MESSAGE_MAP()
  74. };