#include <CSnapinCacheEntry.h>
Definition at line 10 of file CSnapinCacheEntry.h.
◆ CSnapinCacheEntry()
Definition at line 15 of file CSnapinCacheEntry.cpp.
17{
20
23 DPRINT(
"CoCreateInstance %lx\n",
hr);
25 {
27
28 hr = pSnapinAbout->GetProvider(&
Str);
31 {
34 }
35
36 hr = pSnapinAbout->GetSnapinDescription(&
Str);
39 {
42 }
43
44 hr = pSnapinAbout->GetSnapinVersion(&
Str);
47 {
50 }
51
52 HBITMAP hSmallImage, hSmallImageOpen, hLargeImage;
54
55 hr = pSnapinAbout->GetStaticFolderImage(&hSmallImage,
56 &hSmallImageOpen,
57 &hLargeImage,
58 &colorMask);
60 {
62 hSmallImage,
63 colorMask);
64
66 hSmallImageOpen,
67 colorMask);
68
72 }
73 }
74}
#define IID_PPV_ARG(Itype, ppType)
CAtlString m_AboutGuidString
HRESULT WINAPI CLSIDFromString(LPCOLESTR str, LPCLSID clsid)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, IUnknown *outer, DWORD cls_context, REFIID riid, void **obj)
void WINAPI CoTaskMemFree(void *ptr)
INT WINAPI ImageList_AddMasked(HIMAGELIST himl, HBITMAP hBitmap, COLORREF clrMask)
◆ ~CSnapinCacheEntry()
| CSnapinCacheEntry::~CSnapinCacheEntry |
( |
| ) |
|
◆ AboutGuidString()
| const CAtlString & CSnapinCacheEntry::AboutGuidString |
( |
| ) |
const |
|
inline |
◆ Create()
Definition at line 43 of file CSnapinCacheEntry.h.
44 {
45 DPRINT1(
"Create(%S)\n", guidString);
50
51 CRegKey SnapinKey;
52 ret = SnapinKey.Open(SnapinsKey, guidString,
KEY_READ);
54 {
56 }
57
58 CRegKey NodeTypesKey;
59 ret = NodeTypesKey.Open(SnapinKey,
L"StandAlone",
KEY_READ);
61 {
62 SnapinKey.Close();
64 }
65 NodeTypesKey.Close();
66
70 {
72 {
74 }
75 else
76 {
78 }
79 }
80
82 {
85 {
87 }
88 }
89
91 {
92 SnapinKey.Close();
94 }
95
99 {
101 }
102
103 SnapinKey.Close();
104
106 {
108 }
109
111
113 }
const CAtlString & GuidString() const
const CAtlString & AboutGuidString() const
const CAtlString & Name() const
HRESULT WINAPI SHLoadIndirectString(const WCHAR *src, WCHAR *dst, UINT dst_len, void **reserved)
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
Referenced by CMainWnd::LoadSnapinCache().
◆ Description()
| const CAtlString & CSnapinCacheEntry::Description |
( |
| ) |
const |
|
inline |
◆ GuidString()
| const CAtlString & CSnapinCacheEntry::GuidString |
( |
| ) |
const |
|
inline |
◆ Name()
| const CAtlString & CSnapinCacheEntry::Name |
( |
| ) |
const |
|
inline |
◆ NormalImageIndex()
| int CSnapinCacheEntry::NormalImageIndex |
( |
| ) |
|
|
inline |
◆ OpenImageIndex()
| int CSnapinCacheEntry::OpenImageIndex |
( |
| ) |
|
|
inline |
◆ Provider()
| const CAtlString & CSnapinCacheEntry::Provider |
( |
| ) |
const |
|
inline |
◆ Version()
| const CAtlString & CSnapinCacheEntry::Version |
( |
| ) |
const |
|
inline |
◆ m_AboutGuid
| GUID CSnapinCacheEntry::m_AboutGuid |
|
private |
◆ m_AboutGuidString
| CAtlString CSnapinCacheEntry::m_AboutGuidString |
|
private |
◆ m_Description
| CAtlString CSnapinCacheEntry::m_Description |
|
private |
◆ m_Guid
| GUID CSnapinCacheEntry::m_Guid |
|
private |
◆ m_GuidString
| CAtlString CSnapinCacheEntry::m_GuidString |
|
private |
◆ m_ImageNormal
| int CSnapinCacheEntry::m_ImageNormal |
|
private |
◆ m_ImageOpen
| int CSnapinCacheEntry::m_ImageOpen |
|
private |
◆ m_Loaded
| BOOL CSnapinCacheEntry::m_Loaded |
|
private |
◆ m_Name
| CAtlString CSnapinCacheEntry::m_Name |
|
private |
◆ m_Provider
| CAtlString CSnapinCacheEntry::m_Provider |
|
private |
◆ m_Version
| CAtlString CSnapinCacheEntry::m_Version |
|
private |
The documentation for this class was generated from the following files: