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.

100 lines
3.2 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994 - 1998.
  5. //
  6. // File: Sigs.h
  7. //
  8. // Contents: Digital Signatures property sheet
  9. //
  10. // Classes: CSignatures
  11. //
  12. // History: 07-10-2000 stevebl Created
  13. //
  14. //---------------------------------------------------------------------------
  15. #ifdef DIGITAL_SIGNATURES
  16. #if !defined(AFX_SIGS_H__5A23FB9E_92BB_11D1_984E_00C04FB9603F__INCLUDED_)
  17. #define AFX_SIGS_H__5A23FB9E_92BB_11D1_984E_00C04FB9603F__INCLUDED_
  18. #if _MSC_VER >= 1000
  19. #pragma once
  20. #endif // _MSC_VER >= 1000
  21. /////////////////////////////////////////////////////////////////////////////
  22. // CSignatures dialog
  23. class CSignatures : public CPropertyPage
  24. {
  25. DECLARE_DYNCREATE(CSignatures)
  26. // Construction
  27. public:
  28. CSignatures();
  29. ~CSignatures();
  30. CScopePane * m_pScopePane;
  31. IClassAdmin * m_pIClassAdmin;
  32. BOOL m_fAllow;
  33. BOOL m_fIgnoreForAdmins;
  34. BOOL m_fRSOP;
  35. LPGPEINFORMATION m_pIGPEInformation;
  36. CListCtrl m_list1;
  37. CListCtrl m_list2;
  38. CString m_szTempInstallableStore;
  39. CString m_szTempNonInstallableStore;
  40. CSignatures ** m_ppThis;
  41. int m_nSortedColumn;
  42. void RefreshData(void);
  43. // Dialog Data
  44. //{{AFX_DATA(CSignatures)
  45. enum { IDD = IDD_SIGNATURES };
  46. // NOTE - ClassWizard will add data members here.
  47. // DO NOT EDIT what you see in these blocks of generated code !
  48. //}}AFX_DATA
  49. // Overrides
  50. // ClassWizard generate virtual function overrides
  51. //{{AFX_VIRTUAL(CSignatures)
  52. public:
  53. virtual BOOL OnApply();
  54. protected:
  55. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  56. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  57. //}}AFX_VIRTUAL
  58. //
  59. protected:
  60. // Generated message map functions
  61. //{{AFX_MSG(CSignatures)
  62. afx_msg void OnAddAllow();
  63. afx_msg void OnDeleteAllow();
  64. afx_msg void OnPropertiesAllow();
  65. afx_msg void OnAddDisallow();
  66. afx_msg void OnDeleteDisallow();
  67. afx_msg void OnPropertiesDisallow();
  68. afx_msg void OnAllowChanged();
  69. afx_msg void OnIgnoreChanged();
  70. virtual BOOL OnInitDialog();
  71. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  72. //}}AFX_MSG\
  73. void AddCertificate(CString &szStore);
  74. void RemoveCertificate(CString &szStore, CListCtrl &list);
  75. void CertificateProperties(CString &szStore, CListCtrl &list);
  76. HRESULT AddToCertStore(LPWSTR lpFileName, LPWSTR lpFileStore);
  77. HRESULT AddMSIToCertStore(LPWSTR lpFileName, LPWSTR lpFileStore);
  78. void ReportFailure(DWORD dwMessage, HRESULT hr);
  79. DECLARE_MESSAGE_MAP()
  80. };
  81. //{{AFX_INSERT_LOCATION}}
  82. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  83. #endif // !defined(AFX_SIGS_H__5A23FB9E_92BB_11D1_984E_00C04FB9603F__INCLUDED_)
  84. #endif DIGITAL_SIGNATURES