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.
49 lines
1.0 KiB
49 lines
1.0 KiB
/*++
|
|
|
|
Copyright (C) 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);
|
|
LONG m_Ref;
|
|
};
|
|
|
|
#endif
|