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.

50 lines
1.5 KiB

  1. //+---------------------------------------------------------------------------
  2. /////////////////////////////////////////////////////////////////////////////////
  3. //
  4. // Microsoft Windows
  5. // Copyright (C) Microsoft Corporation, 2000-2001.
  6. //
  7. // File: TemplatePropertySheet.h
  8. //
  9. // Contents: interface for the CTemplatePropertySheet class.
  10. //
  11. //----------------------------------------------------------------------------
  12. #if !defined(AFX_TEMPLATEPROPERTYSHEET_H__E4EE749E_308A_4F88_8DA0_97E1EF292D67__INCLUDED_)
  13. #define AFX_TEMPLATEPROPERTYSHEET_H__E4EE749E_308A_4F88_8DA0_97E1EF292D67__INCLUDED_
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. #include "CertTemplate.h"
  18. class CTemplatePropertySheet : public CPropertySheet
  19. {
  20. public:
  21. CTemplatePropertySheet(
  22. LPCTSTR pszCaption,
  23. CCertTemplate& m_rCertTemplate,
  24. CWnd *pParentWnd = NULL,
  25. UINT iSelectPage = 0 );
  26. virtual ~CTemplatePropertySheet();
  27. protected:
  28. virtual BOOL OnInitDialog();
  29. // Generated message map functions
  30. //{{AFX_MSG(CTemplatePropertySheet)
  31. //}}AFX_MSG
  32. afx_msg LRESULT OnAddSecurityPage (WPARAM, LPARAM);
  33. afx_msg LRESULT OnSetOKDefault (WPARAM, LPARAM);
  34. DECLARE_MESSAGE_MAP()
  35. BOOL OnHelp(WPARAM wParam, LPARAM lParam);
  36. virtual void DoContextHelp (HWND hWndControl);
  37. private:
  38. CCertTemplate& m_rCertTemplate;
  39. LPSECURITYINFO m_pReleaseMe;
  40. };
  41. #endif // !defined(AFX_TEMPLATEPROPERTYSHEET_H__E4EE749E_308A_4F88_8DA0_97E1EF292D67__INCLUDED_)