|
Blender
V3.3
|
Public Member Functions | |
| CBlendThumb () | |
| virtual | ~CBlendThumb () |
| IFACEMETHODIMP | QueryInterface (REFIID riid, void **ppv) |
| IFACEMETHODIMP_ (ULONG) AddRef() | |
| IFACEMETHODIMP_ (ULONG) Release() | |
| IFACEMETHODIMP | Initialize (IStream *pStream, DWORD grfMode) |
| IFACEMETHODIMP | GetThumbnail (UINT cx, HBITMAP *phbmp, WTS_ALPHATYPE *pdwAlpha) |
This thumbnail provider implements #IInitializeWithStream to enable being hosted in an isolated process for robustness.
Definition at line 27 of file blendthumb_win32.cc.
|
inline |
Definition at line 29 of file blendthumb_win32.cc.
|
inlinevirtual |
Definition at line 33 of file blendthumb_win32.cc.
| IFACEMETHODIMP CBlendThumb::GetThumbnail | ( | UINT | cx, |
| HBITMAP * | phbmp, | ||
| WTS_ALPHATYPE * | pdwAlpha | ||
| ) |
IThumbnailProvider
Definition at line 144 of file blendthumb_win32.cc.
References blendthumb_create_thumb_from_file(), BT_OK, Thumbnail::data, blender::Array< T, InlineBufferCapacity, Allocator >::data(), file, float(), Thumbnail::height, max, NULL, stream_close(), stream_read(), stream_seek(), swap(), and Thumbnail::width.
|
inline |
Definition at line 50 of file blendthumb_win32.cc.
|
inline |
Definition at line 55 of file blendthumb_win32.cc.
| IFACEMETHODIMP CBlendThumb::Initialize | ( | IStream * | pStream, |
| DWORD | grfMode | ||
| ) |
|
inline |
Definition at line 40 of file blendthumb_win32.cc.
Referenced by CBlendThumb_CreateInstance().