windows-nt/Source/XPSP1/NT/ds/security/cryptoapi/ui/cryptext/cryptsig.h

64 lines
1.5 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1997 - 1999
//
// File: cryptsig.h
//
//--------------------------------------------------------------------------
// CryptSig.h : Declaration of the CCryptSig
#ifndef __CRYPTSIG_H_
#define __CRYPTSIG_H_
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CCryptSig
class ATL_NO_VTABLE CCryptSig :
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<CCryptSig, &CLSID_CryptSig>,
public ICryptSig,
public IShellPropSheetExt,
public IShellExtInit
{
protected:
LPDATAOBJECT m_pDataObj;
public:
DECLARE_REGISTRY_RESOURCEID(IDR_CRYPTSIG)
DECLARE_NOT_AGGREGATABLE(CCryptSig)
BEGIN_COM_MAP(CCryptSig)
COM_INTERFACE_ENTRY(ICryptSig)
COM_INTERFACE_ENTRY(IShellPropSheetExt)
COM_INTERFACE_ENTRY(IShellExtInit)
END_COM_MAP()
// ICryptSig
public:
CCryptSig();
~CCryptSig();
//IShellPropSheetExt methods
STDMETHODIMP AddPages(LPFNADDPROPSHEETPAGE lpfnAddPage, LPARAM lParam);
STDMETHODIMP ReplacePage(UINT uPageID,
LPFNADDPROPSHEETPAGE lpfnReplaceWith,
LPARAM lParam);
//IShellExtInit methods
STDMETHODIMP Initialize(LPCITEMIDLIST pIDFolder,
LPDATAOBJECT pDataObj,
HKEY hKeyID);
};
#endif //__CRYPTSIG_H_