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.

63 lines
1.6 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: cryptsig.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // CryptSig.h : Declaration of the CCryptSig
  11. #ifndef __CRYPTSIG_H_
  12. #define __CRYPTSIG_H_
  13. #include "resource.h" // main symbols
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CCryptSig
  16. class ATL_NO_VTABLE CCryptSig :
  17. public CComObjectRootEx<CComSingleThreadModel>,
  18. public CComCoClass<CCryptSig, &CLSID_CryptSig>,
  19. public ICryptSig,
  20. public IShellPropSheetExt,
  21. public IShellExtInit
  22. {
  23. protected:
  24. LPDATAOBJECT m_pDataObj;
  25. public:
  26. DECLARE_REGISTRY_RESOURCEID(IDR_CRYPTSIG)
  27. DECLARE_NOT_AGGREGATABLE(CCryptSig)
  28. BEGIN_COM_MAP(CCryptSig)
  29. COM_INTERFACE_ENTRY(ICryptSig)
  30. COM_INTERFACE_ENTRY(IShellPropSheetExt)
  31. COM_INTERFACE_ENTRY(IShellExtInit)
  32. END_COM_MAP()
  33. // ICryptSig
  34. public:
  35. CCryptSig();
  36. ~CCryptSig();
  37. //IShellPropSheetExt methods
  38. STDMETHODIMP AddPages(LPFNADDPROPSHEETPAGE lpfnAddPage, LPARAM lParam);
  39. STDMETHODIMP ReplacePage(UINT uPageID,
  40. LPFNADDPROPSHEETPAGE lpfnReplaceWith,
  41. LPARAM lParam);
  42. //IShellExtInit methods
  43. STDMETHODIMP Initialize(LPCITEMIDLIST pIDFolder,
  44. LPDATAOBJECT pDataObj,
  45. HKEY hKeyID);
  46. };
  47. #endif //__CRYPTSIG_H_