CX_GetThumbnailParams struct

Structure that contains the thumbnail parameters and returned thumbnail that is used in the CX_GetThumbnail and CX_GetFileImageThumbnail callback functions.

Syntax

struct CX_GetThumbnailParams
{
   CX_GetThumbnailParams() { ZeroMemory(this, sizeof(*this)); };

   DWORD dwFlags;
   int iPage;
   SIZE siThumb;
   HGLOBAL hdib;
   CX_ProgressFunc pfProgress;
   void* pParam;
};

Members

dwFlags

Type: DWORD

CX_GTF flags

iPage

Type: int

Page to get thumbnail for (0-based)

siThumb

Type: SIZE

Desired thumbnail dimensions

hdib

Type: HGLOBAL

Returned handle to thumbnail (must be freed by plug-in using GlobalFree())

pfProgress

Type: CX_ProgressFunc

Decoding progress callback function

pParam

Type: void*

Decoding progress callback parameter

Remarks

Used in the CX_GetThumbnail and CX_GetFileImageThumbnail callback functions.

Requirements

Header: CX_PlugIn.h

See also: