windows-nt/Source/XPSP1/NT/shell/osshell/snapins/devmgr/snapin/about.h

50 lines
1,009 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (C) 1997-1999 Microsoft Corporation
Module Name:
about.h
Abstract:
header file defines CDevMgrAbout class
Author:
William Hsieh (williamh) created
Revision History:
--*/
#ifndef __ABOUT_H_
#define __ABOUT_H_
class CDevMgrAbout : public ISnapinAbout
{
public:
CDevMgrAbout() :m_Ref(1)
{}
// IUNKNOWN interface
STDMETHOD_(ULONG, AddRef)();
STDMETHOD_(ULONG, Release)();
STDMETHOD(QueryInterface)(REFIID riid, void** ppv);
// ISnapinAbout interface
STDMETHOD(GetSnapinDescription)(LPOLESTR *ppDescription);
STDMETHOD(GetProvider)(LPOLESTR* ppProvider);
STDMETHOD(GetSnapinVersion)(LPOLESTR *ppVersion);
STDMETHOD(GetSnapinImage)(HICON *phIcon);
STDMETHOD(GetStaticFolderImage)(HBITMAP* phSmall,
HBITMAP* phSmallOpen,
HBITMAP* phLarge,
COLORREF* pcrMask);
private:
HRESULT LoadResourceOleString(int StringId, LPOLESTR* ppString);
ULONG m_Ref;
};
#endif