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.

72 lines
1.9 KiB

  1. #if !defined(AFX_MANAGECERTPAGE_H__A57C38A8_3B7F_11D2_817E_0000F87A921B__INCLUDED_)
  2. #define AFX_MANAGECERTPAGE_H__A57C38A8_3B7F_11D2_817E_0000F87A921B__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ManageCertPage.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CManageCertPage dialog
  10. class CCertificate;
  11. class CManageCertPage : public CIISWizardPage
  12. {
  13. DECLARE_DYNCREATE(CManageCertPage)
  14. // Construction
  15. public:
  16. CManageCertPage(CCertificate * pCert = NULL);
  17. ~CManageCertPage();
  18. enum
  19. {
  20. IDD_PAGE_NEXT_RENEW = IDD_PAGE_WIZ_CHOOSE_CATYPE,
  21. IDD_PAGE_NEXT_REMOVE = IDD_PAGE_WIZ_REMOVE_CERT,
  22. IDD_PAGE_NEXT_REPLACE = IDD_PAGE_WIZ_CHOOSE_CERT,
  23. IDD_PAGE_NEXT_EXPORT_PFX = IDD_PAGE_WIZ_GET_EXPORT_PFX_FILE,
  24. IDD_PAGE_NEXT_COPY_MOVE_TO_REMOTE = IDD_PAGE_WIZ_CHOOSE_COPY_MOVE_TO_REMOTE,
  25. IDD_PAGE_PREV = IDD_PAGE_WELCOME_START
  26. };
  27. enum
  28. {
  29. CONTINUE_RENEW = 0,
  30. CONTINUE_REMOVE,
  31. CONTINUE_REPLACE,
  32. CONTINUE_EXPORT_PFX,
  33. CONTINUE_COPY_MOVE_TO_REMOTE,
  34. };
  35. // Dialog Data
  36. //{{AFX_DATA(CManageCertPage)
  37. enum { IDD = IDD_PAGE_WIZ_MANAGE_CERT };
  38. int m_Index;
  39. //}}AFX_DATA
  40. CCertificate * m_pCert;
  41. // Overrides
  42. // ClassWizard generate virtual function overrides
  43. //{{AFX_VIRTUAL(CManageCertPage)
  44. public:
  45. virtual LRESULT OnWizardBack();
  46. virtual LRESULT OnWizardNext();
  47. virtual BOOL OnSetActive();
  48. protected:
  49. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  50. //}}AFX_VIRTUAL
  51. // Implementation
  52. protected:
  53. // Generated message map functions
  54. //{{AFX_MSG(CManageCertPage)
  55. virtual BOOL OnInitDialog();
  56. //}}AFX_MSG
  57. DECLARE_MESSAGE_MAP()
  58. };
  59. //{{AFX_INSERT_LOCATION}}
  60. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  61. #endif // !defined(AFX_MANAGECERTPAGE_H__A57C38A8_3B7F_11D2_817E_0000F87A921B__INCLUDED_)