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.
|
|
/*++
� 1998 Seagate Software, Inc. All rights reserved.
Module Name:
About.h
Abstract:
Definition of the CAbout class.
Author:
Art Bragg [abragg] 12-Aug-1997
Revision History:
--*/
#ifndef _ABOUT_H
#define _ABOUT_H
/////////////////////////////////////////////////////////////////////////////
// CAbout
class ATL_NO_VTABLE CAbout : public ISnapinAbout, // Supplies information to the About Box
public CComObjectRoot, public CComCoClass<CAbout,&CLSID_CAbout> { public: CAbout(); virtual ~CAbout();
BEGIN_COM_MAP(CAbout) COM_INTERFACE_ENTRY(ISnapinAbout) END_COM_MAP() DECLARE_NOT_AGGREGATABLE(CAbout)
DECLARE_REGISTRY_RESOURCEID(IDR_About)
// ISnapinAbout methods
public: 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* cLargeMask); private: HRESULT AboutHelper(UINT nID, LPOLESTR* lpPtr); void DestroyBitmapObjects(); void DestroyIconObject();
// Data members
private: HBITMAP m_hSmallImage; HBITMAP m_hLargeImage; HBITMAP m_hSmallImageOpen;
HICON m_hAppIcon; };
#endif
|