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.

64 lines
1.5 KiB

  1. // ssl1.h : header file
  2. //
  3. #define SECUREPORTNAME "SecurePort"
  4. #define DEFAULTSECUREPORT 443
  5. #define ENCRYPTIONFLAGSNAME "EncryptionFlags"
  6. #define DEFAULTENCRYPTIONFLAGS ENC_CAPS_SSL | ENC_CAPS_PCT
  7. #define CREATEPROCESSASUSERNAME "CreateProcessAsUser"
  8. #define DEFAULTCREATEPROCESSASUSER TRUEVALUE
  9. enum SSL_NUM_REG_ENTRIES {
  10. SSLPage_SecurePort,
  11. SSLPage_EncryptionFlags,
  12. SSLPage_CreateProcessAsUser,
  13. SSLPage_TotalNumRegEntries
  14. };
  15. /////////////////////////////////////////////////////////////////////////////
  16. // SSL1 dialog
  17. class SSL1 : public CGenPage
  18. {
  19. DECLARE_DYNCREATE(SSL1)
  20. // Construction
  21. public:
  22. SSL1();
  23. ~SSL1();
  24. // Dialog Data
  25. //{{AFX_DATA(SSL1)
  26. enum { IDD = IDD_SSL };
  27. CButton m_cboxEnableSSL;
  28. CButton m_cboxEnablePCT;
  29. CButton m_cboxCreateProcessAsUser;
  30. DWORD m_ulSecurePort;
  31. //}}AFX_DATA
  32. // Overrides
  33. // ClassWizard generate virtual function overrides
  34. //{{AFX_VIRTUAL(SSL1)
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  37. virtual void SaveInfo(void);
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. protected:
  41. // Generated message map functions
  42. //{{AFX_MSG(SSL1)
  43. afx_msg void OnChangeSslsecureportdata1();
  44. afx_msg void OnSslcreateprocessasuserdata1();
  45. afx_msg void OnSslenablepctdata1();
  46. afx_msg void OnSslenablessldata1();
  47. virtual BOOL OnInitDialog();
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. NUM_REG_ENTRY m_binNumericRegistryEntries[SSLPage_TotalNumRegEntries];
  51. };