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.

60 lines
1.5 KiB

  1. #if _MSC_VER >= 1000
  2. #pragma once
  3. #endif // _MSC_VER >= 1000
  4. // tls.h : header file
  5. //
  6. typedef struct _TLS_PROPERTIES {
  7. DWORD dwCertType;
  8. DWORD dwValidateServerCert;
  9. } TLS_PROPERTIES, *PTLS_PROPERTIES;
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CTLSSetting dialog
  12. class CTLSSetting : public CDialog
  13. {
  14. // Construction
  15. public:
  16. CTLSSetting(CWnd* pParent = NULL); // standard constructor
  17. BOOL Initialize ( PTLS_PROPERTIES pTLSProperties, BOOL bReadOnly = FALSE);
  18. // Dialog Data
  19. //{{AFX_DATA(CTLSSetting)
  20. enum { IDD = IDD_TLS_SETTINGS};
  21. CComboBox m_cbCertificateType;
  22. BOOL m_dwValidateServerCertificate;
  23. //}}AFX_DATA
  24. // Overrides
  25. // ClassWizard generated virtual function overrides
  26. //{{AFX_VIRTUAL(CTLSSetting)
  27. protected:
  28. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  29. //}}AFX_VIRTUAL
  30. // Implementation
  31. protected:
  32. PTLS_PROPERTIES pTLSProperties;
  33. BOOL m_bReadOnly;
  34. // Generated message map functions
  35. //{{AFX_MSG(CTLSSetting)
  36. virtual BOOL OnInitDialog();
  37. virtual void OnOK();
  38. afx_msg void OnCheckValidateServerCert();
  39. afx_msg void OnSelCertType();
  40. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  41. //}}AFX_MSG
  42. DECLARE_MESSAGE_MAP()
  43. void ControlsValuesToSM (PTLS_PROPERTIES pTLSProperties);
  44. };
  45. //{{AFX_INSERT_LOCATION}}
  46. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.