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.

77 lines
2.0 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997-2001.
  5. //
  6. // File: acrstype.h
  7. //
  8. // Contents:
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_ACRSTYPE_H__1BCEA8C5_756A_11D1_85D5_00C04FB94F17__INCLUDED_)
  12. #define AFX_ACRSTYPE_H__1BCEA8C5_756A_11D1_85D5_00C04FB94F17__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. // ACRSType.h : header file
  17. //
  18. #include "Wiz97PPg.h"
  19. /////////////////////////////////////////////////////////////////////////////
  20. // ACRSWizardTypePage dialog
  21. class ACRSWizardTypePage : public CWizard97PropertyPage
  22. {
  23. // DECLARE_DYNCREATE(ACRSWizardTypePage)
  24. // Construction
  25. public:
  26. ACRSWizardTypePage(); // standard constructor
  27. virtual ~ACRSWizardTypePage();
  28. // Dialog Data
  29. //{{AFX_DATA(ACRSWizardTypePage)
  30. enum { IDD = IDD_ACR_SETUP_TYPE };
  31. CListCtrl m_certTypeList;
  32. //}}AFX_DATA
  33. // Overrides
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(ACRSWizardTypePage)
  36. public:
  37. virtual LRESULT OnWizardNext();
  38. virtual BOOL OnSetActive();
  39. protected:
  40. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  41. //}}AFX_VIRTUAL
  42. // Implementation
  43. protected:
  44. // bool AlreadyInList (CStringList& typeList, CString propName);
  45. HRESULT GetPurposes (HCERTTYPE hCertType, int iItem);
  46. void EnumerateCertTypes ();
  47. // Generated message map functions
  48. //{{AFX_MSG(ACRSWizardTypePage)
  49. virtual BOOL OnInitDialog();
  50. afx_msg void OnDestroy();
  51. afx_msg void OnUseSmartcard();
  52. afx_msg void OnItemchangedCertTypes(NMHDR* pNMHDR, LRESULT* pResult);
  53. //}}AFX_MSG
  54. DECLARE_MESSAGE_MAP()
  55. private:
  56. bool m_bInitDialogComplete;
  57. enum {
  58. COL_TYPE = 0,
  59. COL_PURPOSES,
  60. NUM_COLS
  61. };
  62. };
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  65. #endif // !defined(AFX_ACRSTYPE_H__1BCEA8C5_756A_11D1_85D5_00C04FB94F17__INCLUDED_)