Blender
V3.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 18 of file blendthumb_win32_dll.cc.
Definition at line 17 of file blendthumb_win32_dll.cc.
typedef HRESULT(* PFNCREATEINSTANCE) (REFIID riid, void **ppvObject) |
Definition at line 22 of file blendthumb_win32_dll.cc.
HRESULT CBlendThumb_CreateInstance | ( | REFIID | riid, |
void ** | ppv | ||
) |
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 165 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 53 of file blendthumb_win32_dll.cc.
References g_cRefModule.
Referenced by CClassFactory::CClassFactory(), and CClassFactory::LockServer().
DWORD void* STDAPI DllCanUnloadNow | ( | ) |
Definition at line 47 of file blendthumb_win32_dll.cc.
References g_cRefModule.
STDAPI DllGetClassObject | ( | REFCLSID | clsid, |
REFIID | riid, | ||
void ** | ppv | ||
) |
Definition at line 142 of file blendthumb_win32_dll.cc.
References c_rgClassObjectInit, and CClassFactory::CreateInstance().
STDAPI DllRegisterServer | ( | ) |
Registers this COM server.
Definition at line 205 of file blendthumb_win32_dll.cc.
References CreateRegKeyAndSetValue(), g_hInst, L, SZ_BLENDTHUMBHANDLER, and SZ_CLSID_BLENDTHUMBHANDLER.
void DllRelease | ( | ) |
Definition at line 58 of file blendthumb_win32_dll.cc.
References g_cRefModule.
Referenced by CClassFactory::LockServer().
STDAPI DllUnregisterServer | ( | ) |
Unregisters this COM server
Definition at line 262 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 29 of file blendthumb_win32_dll.cc.
Referenced by DllGetClassObject().
const CLSID CLSID_BlendThumbHandler |
Definition at line 19 of file blendthumb_win32_dll.cc.
DWORD dwReason |
Definition at line 38 of file blendthumb_win32_dll.cc.
long g_cRefModule = 0 |
Definition at line 32 of file blendthumb_win32_dll.cc.
Referenced by DllAddRef(), DllCanUnloadNow(), and DllRelease().
HINSTANCE g_hInst = nullptr |
Handle the DLL's module
Definition at line 35 of file blendthumb_win32_dll.cc.
Referenced by DllRegisterServer().