This structure contains image decoding parameters and the returned image.
struct CX_DecodeImageParams
{
CX_DecodeImageParams() { ZeroMemory(this, sizeof(*this)); };
DWORD dwFlags;
int iPage;
SIZE siMax;
HGLOBAL hdib;
CX_ProgressFunc pfProgress;
void* pParam;
};
dwFlags
Type: DWORD
CX_DIF flags
iPage
Type: int
Page to decode (0-based)
siMax
Type: SIZE
Maximum image dimensions. The returned image will be less than or equal to these dimensions.
hdib
Type: HGLOBAL
Handle to decoded image (must be freed by plug-in using GlobalFree())
pfProgress
Type: CX_ProgressFunc
Decoding progress callback function
pParam
Type: void*
Decoding progress callback parameter
This structure is used in the CX_DecodeImage and CX_DecodeFileImage callback functions.
Header: CX_PlugIn.h