Blender V4.3
blendthumb_win32.cc File Reference
#include <cmath>
#include <new>
#include <shlwapi.h>
#include <string>
#include <thumbcache.h>
#include "Wincodec.h"
#include "blendthumb.hh"
#include "BLI_filereader.h"

Go to the source code of this file.

Classes

class  CBlendThumb
 
struct  StreamReader
 

Functions

HRESULT CBlendThumb_CreateInstance (REFIID riid, void **ppv)
 
static int64_t stream_read (FileReader *reader, void *buffer, size_t size)
 
static off64_t stream_seek (FileReader *reader, off64_t offset, int whence)
 
static void stream_close (FileReader *reader)
 

Detailed Description

Thumbnail from Blend file extraction for MS-Windows.

Definition in file blendthumb_win32.cc.

Function Documentation

◆ CBlendThumb_CreateInstance()

HRESULT CBlendThumb_CreateInstance ( REFIID riid,
void ** ppv )

Definition at line 75 of file blendthumb_win32.cc.

References CBlendThumb::QueryInterface().

◆ stream_close()

static void stream_close ( FileReader * reader)
static

Definition at line 138 of file blendthumb_win32.cc.

Referenced by CBlendThumb::GetThumbnail().

◆ stream_read()

static int64_t stream_read ( FileReader * reader,
void * buffer,
size_t size )
static

◆ stream_seek()

static off64_t stream_seek ( FileReader * reader,
off64_t offset,
int whence )
static