|
Blender V4.3
|
#include <new>#include <objbase.h>#include <shlobj.h>#include <shlwapi.h>#include <thumbcache.h>Go to the source code of this file.
Classes | |
| struct | CLASS_OBJECT_INIT |
| class | CClassFactory |
| struct | REGISTRY_ENTRY |
Macros | |
| #define | SZ_CLSID_BLENDTHUMBHANDLER L"{D45F043D-F17F-4e8a-8435-70971D9FA46D}" |
| #define | SZ_BLENDTHUMBHANDLER L"Blender Thumbnail Handler" |
Typedefs | |
| typedef HRESULT(* | PFNCREATEINSTANCE) (REFIID riid, void **ppvObject) |
Functions | |
| HRESULT | CBlendThumb_CreateInstance (REFIID riid, void **ppv) |
| STDAPI_ (BOOL) DllMain(HINSTANCE hInstance | |
| DWORD void *STDAPI | DllCanUnloadNow () |
| void | DllAddRef () |
| void | DllRelease () |
| STDAPI | DllGetClassObject (REFCLSID clsid, REFIID riid, void **ppv) |
| HRESULT | CreateRegKeyAndSetValue (const REGISTRY_ENTRY *pRegistryEntry) |
| STDAPI | DllRegisterServer () |
| STDAPI | DllUnregisterServer () |
Variables | |
| const CLSID | CLSID_BlendThumbHandler |
| const CLASS_OBJECT_INIT | c_rgClassObjectInit [] |
| long | g_cRefModule = 0 |
| HINSTANCE | g_hInst = nullptr |
| DWORD | dwReason |
Thumbnail from Blend file extraction for MS-Windows (DLL).
Definition in file blendthumb_win32_dll.cc.
Definition at line 20 of file blendthumb_win32_dll.cc.
Referenced by DllRegisterServer().
| #define SZ_CLSID_BLENDTHUMBHANDLER L"{D45F043D-F17F-4e8a-8435-70971D9FA46D}" |
Definition at line 19 of file blendthumb_win32_dll.cc.
Referenced by DllRegisterServer(), and DllUnregisterServer().
| typedef HRESULT(* PFNCREATEINSTANCE) (REFIID riid, void **ppvObject) |
Definition at line 24 of file blendthumb_win32_dll.cc.
|
extern |
Definition at line 75 of file blendthumb_win32.cc.
References CBlendThumb::QueryInterface().
| HRESULT CreateRegKeyAndSetValue | ( | const REGISTRY_ENTRY * | pRegistryEntry | ) |
Creates a registry key (if needed) and sets the default value of the key.
Definition at line 167 of file blendthumb_win32_dll.cc.
References data, REGISTRY_ENTRY::dwData, REGISTRY_ENTRY::dwValueType, REGISTRY_ENTRY::hkeyRoot, REGISTRY_ENTRY::pszData, REGISTRY_ENTRY::pszKeyName, REGISTRY_ENTRY::pszValueName, and size().
Referenced by DllRegisterServer().
| void DllAddRef | ( | ) |
Definition at line 55 of file blendthumb_win32_dll.cc.
References g_cRefModule.
Referenced by CClassFactory::CClassFactory(), and CClassFactory::LockServer().
| DWORD void *STDAPI DllCanUnloadNow | ( | ) |
Definition at line 49 of file blendthumb_win32_dll.cc.
References g_cRefModule.
| STDAPI DllGetClassObject | ( | REFCLSID | clsid, |
| REFIID | riid, | ||
| void ** | ppv ) |
Definition at line 144 of file blendthumb_win32_dll.cc.
References c_rgClassObjectInit, and CClassFactory::CreateInstance().
| STDAPI DllRegisterServer | ( | ) |
Registers this COM server.
Definition at line 207 of file blendthumb_win32_dll.cc.
References CreateRegKeyAndSetValue(), g_hInst, L, SZ_BLENDTHUMBHANDLER, and SZ_CLSID_BLENDTHUMBHANDLER.
| void DllRelease | ( | ) |
Definition at line 60 of file blendthumb_win32_dll.cc.
References g_cRefModule.
Referenced by CClassFactory::LockServer().
| STDAPI DllUnregisterServer | ( | ) |
Unregisters this COM server
Definition at line 264 of file blendthumb_win32_dll.cc.
References L, and SZ_CLSID_BLENDTHUMBHANDLER.
| STDAPI_ | ( | BOOL | ) |
Standard DLL functions.
| const CLASS_OBJECT_INIT c_rgClassObjectInit[] |
Definition at line 31 of file blendthumb_win32_dll.cc.
Referenced by DllGetClassObject().
| const CLSID CLSID_BlendThumbHandler |
Definition at line 21 of file blendthumb_win32_dll.cc.
| DWORD dwReason |
Definition at line 40 of file blendthumb_win32_dll.cc.
| long g_cRefModule = 0 |
Definition at line 34 of file blendthumb_win32_dll.cc.
Referenced by DllAddRef(), DllCanUnloadNow(), and DllRelease().
| HINSTANCE g_hInst = nullptr |
Handle the DLL's module
Definition at line 37 of file blendthumb_win32_dll.cc.
Referenced by DllRegisterServer().