Source code of Windows XP (NT5)
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.

56 lines
1.2 KiB

  1. /*++
  2. 1998 Seagate Software, Inc. All rights reserved.
  3. Module Name:
  4. About.h
  5. Abstract:
  6. Definition of the CAbout class.
  7. Author:
  8. Art Bragg [abragg] 12-Aug-1997
  9. Revision History:
  10. --*/
  11. #ifndef _ABOUT_H
  12. #define _ABOUT_H
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CAbout
  15. class ATL_NO_VTABLE CAbout :
  16. public ISnapinAbout, // Supplies information to the About Box
  17. public CComObjectRoot,
  18. public CComCoClass<CAbout,&CLSID_CAbout>
  19. {
  20. public:
  21. CAbout() {}
  22. BEGIN_COM_MAP(CAbout)
  23. COM_INTERFACE_ENTRY(ISnapinAbout)
  24. END_COM_MAP()
  25. DECLARE_NOT_AGGREGATABLE(CAbout)
  26. DECLARE_REGISTRY_RESOURCEID(IDR_About)
  27. // ISnapinAbout methods
  28. public:
  29. STDMETHOD(GetSnapinDescription)(LPOLESTR* lpDescription);
  30. STDMETHOD(GetProvider)(LPOLESTR* lpName);
  31. STDMETHOD(GetSnapinVersion)(LPOLESTR* lpVersion);
  32. STDMETHOD(GetSnapinImage)(HICON* hAppIcon);
  33. STDMETHOD(GetStaticFolderImage)(HBITMAP* hSmallImage,
  34. HBITMAP* hSmallImageOpen,
  35. HBITMAP* hLargeImage,
  36. COLORREF* cLargeMask);
  37. private:
  38. HRESULT AboutHelper(UINT nID, LPOLESTR* lpPtr);
  39. };
  40. #endif