windows-nt/Source/XPSP1/NT/net/ias/mmc/nap/logabout.h
2020-09-26 16:20:57 +08:00

78 lines
1.8 KiB
C++

//////////////////////////////////////////////////////////////////////////////
/*++
Copyright (C) Microsoft Corporation, 1997 - 1999
Module Name:
LogAbout.h
Abstract:
Header file for the CLoggingSnapinAbout class.
The CLoggingSnapinAbout class implements the ISnapinAbout interface which enables the MMC
console to get copyright and version information from the snap-in.
The console also uses this interface to obtain images for the static folder
from the snap-in.
See About.cpp for implementation.
Revision History:
mmaguire 11/6/97 - created using MMC snap-in wizard
--*/
//////////////////////////////////////////////////////////////////////////////
#if !defined(_LOG_ABOUT_H_)
#define _LOG_ABOUT_H_
//////////////////////////////////////////////////////////////////////////////
// BEGIN INCLUDES
//
// where we can find what this class derives from:
//
//
//
// where we can find what this class has or uses:
//
//
// END INCLUDES
//////////////////////////////////////////////////////////////////////////////
class ATL_NO_VTABLE CLoggingSnapinAbout :
public ISnapinAbout
, public CComObjectRoot
, public CComCoClass< CLoggingSnapinAbout, &CLSID_LoggingSnapinAbout>
{
public:
DECLARE_REGISTRY(CLoggingSnapinAbout, _T("NAPSnapinAbout.1"), _T("NAPSnapinAbout.1"), IDS_NAPSNAPIN_DESC, THREADFLAGS_BOTH);
BEGIN_COM_MAP(CLoggingSnapinAbout)
COM_INTERFACE_ENTRY(ISnapinAbout)
END_COM_MAP()
STDMETHOD(GetSnapinDescription)( LPOLESTR *lpDescription );
STDMETHOD(GetProvider)( LPOLESTR *lpName );
STDMETHOD(GetSnapinVersion)( LPOLESTR *lpVersion );
STDMETHOD(GetSnapinImage)( HICON *hAppIcon );
STDMETHOD(GetStaticFolderImage)(
HBITMAP *hSmallImage
, HBITMAP *hSmallImageOpen
, HBITMAP *hLargeImage
, COLORREF *cMask
);
};
#endif // _LOG_ABOUT_H_