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.
 
 
 
 
 
 

49 lines
1009 B

/*++
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