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.

77 lines
1.9 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. /*++
  3. Copyright (C) Microsoft Corporation, 1997 - 1999
  4. Module Name:
  5. LogAbout.h
  6. Abstract:
  7. Header file for the CLoggingSnapinAbout class.
  8. The CLoggingSnapinAbout class implements the ISnapinAbout interface which enables the MMC
  9. console to get copyright and version information from the snap-in.
  10. The console also uses this interface to obtain images for the static folder
  11. from the snap-in.
  12. See About.cpp for implementation.
  13. Revision History:
  14. mmaguire 11/6/97 - created using MMC snap-in wizard
  15. --*/
  16. //////////////////////////////////////////////////////////////////////////////
  17. #if !defined(_LOG_ABOUT_H_)
  18. #define _LOG_ABOUT_H_
  19. //////////////////////////////////////////////////////////////////////////////
  20. // BEGIN INCLUDES
  21. //
  22. // where we can find what this class derives from:
  23. //
  24. //
  25. //
  26. // where we can find what this class has or uses:
  27. //
  28. //
  29. // END INCLUDES
  30. //////////////////////////////////////////////////////////////////////////////
  31. class ATL_NO_VTABLE CLoggingSnapinAbout :
  32. public ISnapinAbout
  33. , public CComObjectRoot
  34. , public CComCoClass< CLoggingSnapinAbout, &CLSID_LoggingSnapinAbout>
  35. {
  36. public:
  37. DECLARE_REGISTRY(CLoggingSnapinAbout, _T("NAPSnapinAbout.1"), _T("NAPSnapinAbout.1"), IDS_NAPSNAPIN_DESC, THREADFLAGS_BOTH);
  38. BEGIN_COM_MAP(CLoggingSnapinAbout)
  39. COM_INTERFACE_ENTRY(ISnapinAbout)
  40. END_COM_MAP()
  41. STDMETHOD(GetSnapinDescription)( LPOLESTR *lpDescription );
  42. STDMETHOD(GetProvider)( LPOLESTR *lpName );
  43. STDMETHOD(GetSnapinVersion)( LPOLESTR *lpVersion );
  44. STDMETHOD(GetSnapinImage)( HICON *hAppIcon );
  45. STDMETHOD(GetStaticFolderImage)(
  46. HBITMAP *hSmallImage
  47. , HBITMAP *hSmallImageOpen
  48. , HBITMAP *hLargeImage
  49. , COLORREF *cMask
  50. );
  51. };
  52. #endif // _LOG_ABOUT_H_