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.

83 lines
1.9 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. source.h
  5. Abstract:
  6. Select certificate source dialog prototype.
  7. Author:
  8. Jeff Parham (jeffparh) 13-Dec-1995
  9. Revision History:
  10. --*/
  11. #include "afxwin.h"
  12. #include "srclist.h"
  13. #include "resource.h"
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CCertSourceSelect dialog
  16. class CCertSourceSelectDlg : public CDialog
  17. {
  18. public:
  19. CCertSourceSelectDlg(CWnd* pParent = NULL);
  20. ~CCertSourceSelectDlg();
  21. DWORD CertificateEnter( HWND hWndParent, LPCSTR pszServerName, LPCSTR pszProductName, LPCSTR pszVendor, DWORD dwFlags, LPCSTR pszSourceToUse );
  22. void AbortDialogIfNecessary();
  23. DWORD CallCertificateSource( int nIndex );
  24. BOOL ConnectServer();
  25. NTSTATUS ConnectTo( LPTSTR pszServerName, PLLS_HANDLE phLls );
  26. void GetSourceList();
  27. LLS_HANDLE m_hLls;
  28. LPCSTR m_pszServerName;
  29. LPCSTR m_pszProductName;
  30. LPCSTR m_pszVendor;
  31. DWORD m_dwEnterFlags;
  32. CCertSourceList m_cslSourceList;
  33. // Dialog Data
  34. //{{AFX_DATA(CCertSourceSelectDlg)
  35. enum { IDD = IDD_CERT_SOURCE_SELECT };
  36. CComboBox m_cboxSource;
  37. CString m_strSource;
  38. //}}AFX_DATA
  39. // Overrides
  40. // ClassWizard generated virtual function overrides
  41. //{{AFX_VIRTUAL(CCertSourceSelectDlg)
  42. public:
  43. virtual void WinHelp(DWORD dwData, UINT nCmd = HELP_CONTEXT);
  44. protected:
  45. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  46. //}}AFX_VIRTUAL
  47. // Implementation
  48. protected:
  49. // Generated message map functions
  50. //{{AFX_MSG(CCertSourceSelectDlg)
  51. virtual BOOL OnInitDialog();
  52. virtual void OnOK();
  53. afx_msg void OnHelp();
  54. afx_msg void OnDestroy();
  55. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  56. //}}AFX_MSG
  57. DECLARE_MESSAGE_MAP()
  58. };