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.

73 lines
2.1 KiB

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