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.

62 lines
1.7 KiB

  1. #if !defined(AFX_SELECTOIDDLG_H__519FA306_5A24_4A7D_B37C_7D1715742911__INCLUDED_)
  2. #define AFX_SELECTOIDDLG_H__519FA306_5A24_4A7D_B37C_7D1715742911__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // SelectOIDDlg.h : header file
  7. //
  8. #include "PolicyOID.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CSelectOIDDlg dialog
  11. class CSelectOIDDlg : public CHelpDialog
  12. {
  13. // Construction
  14. public:
  15. ~CSelectOIDDlg();
  16. CSelectOIDDlg(CWnd* pParent, PCERT_EXTENSION pCertExtension,
  17. const bool bIsEKU,
  18. const PSTR* paszUsedOIDs); // standard constructor
  19. // Dialog Data
  20. //{{AFX_DATA(CSelectOIDDlg)
  21. enum { IDD = IDD_SELECT_OIDS };
  22. CListBox m_oidList;
  23. //}}AFX_DATA
  24. CString* m_paszReturnedOIDs;
  25. CString* m_paszReturnedFriendlyNames;
  26. // Overrides
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CSelectOIDDlg)
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  31. //}}AFX_VIRTUAL
  32. // Implementation
  33. protected:
  34. void EnableControls ();
  35. virtual void DoContextHelp (HWND hWndControl);
  36. // Generated message map functions
  37. //{{AFX_MSG(CSelectOIDDlg)
  38. afx_msg void OnNewOid();
  39. virtual BOOL OnInitDialog();
  40. virtual void OnOK();
  41. afx_msg void OnSelchangeOidList();
  42. afx_msg void OnDestroy();
  43. //}}AFX_MSG
  44. DECLARE_MESSAGE_MAP()
  45. private:
  46. const bool m_bIsEKU;
  47. PCERT_EXTENSION m_pCertExtension;
  48. const PSTR* m_paszUsedOIDs;
  49. };
  50. //{{AFX_INSERT_LOCATION}}
  51. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  52. #endif // !defined(AFX_SELECTOIDDLG_H__519FA306_5A24_4A7D_B37C_7D1715742911__INCLUDED_)