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
2.3 KiB

  1. /////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2000-2001.
  5. //
  6. // File: BasicConstraintsDlg.h
  7. //
  8. // Contents: Implementation of CBasicConstraintsDlg
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_BASICCONSTRAINTSDLG_H__DE830A13_21AB_489A_B899_57560400C11B__INCLUDED_)
  12. #define AFX_BASICCONSTRAINTSDLG_H__DE830A13_21AB_489A_B899_57560400C11B__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. // BasicConstraintsDlg.h : header file
  17. //
  18. #include "CertTemplate.h"
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CBasicConstraintsDlg dialog
  21. class CBasicConstraintsDlg : public CHelpDialog
  22. {
  23. // Construction
  24. public:
  25. void EnableControls();
  26. CBasicConstraintsDlg(CWnd* pParent,
  27. CCertTemplate& rCertTemplate,
  28. PCERT_EXTENSION pCertExtension);
  29. ~CBasicConstraintsDlg();
  30. // Dialog Data
  31. //{{AFX_DATA(CBasicConstraintsDlg)
  32. enum { IDD = IDD_BASIC_CONSTRAINTS };
  33. // NOTE - ClassWizard will add data members here.
  34. // DO NOT EDIT what you see in these blocks of generated code !
  35. //}}AFX_DATA
  36. // Overrides
  37. // ClassWizard generate virtual function overrides
  38. //{{AFX_VIRTUAL(CBasicConstraintsDlg)
  39. protected:
  40. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  41. //}}AFX_VIRTUAL
  42. // Implementation
  43. protected:
  44. virtual void DoContextHelp (HWND hWndControl);
  45. // Generated message map functions
  46. //{{AFX_MSG(CBasicConstraintsDlg)
  47. virtual BOOL OnInitDialog();
  48. afx_msg void OnBasicConstraintsCritical();
  49. afx_msg void OnOnlyIssueEndEntities();
  50. virtual void OnOK();
  51. //}}AFX_MSG
  52. DECLARE_MESSAGE_MAP()
  53. private:
  54. bool m_bModified;
  55. CCertTemplate& m_rCertTemplate;
  56. PCERT_EXTENSION m_pCertExtension;
  57. PCERT_BASIC_CONSTRAINTS2_INFO m_pBCInfo;
  58. DWORD m_cbInfo;
  59. };
  60. //{{AFX_INSERT_LOCATION}}
  61. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  62. #endif // !defined(AFX_BASICCONSTRAINTSDLG_H__DE830A13_21AB_489A_B899_57560400C11B__INCLUDED_)