Structure that is used to pass the output of ID_PageDecode or ID_PageDecodeStart to the host application.
struct ID_DecodeParam
{
ID_DecodeParam() { ZeroMemory(this, sizeof(*this)); quality = PIQ_SPEED; };
DWORD dwFlags;
int nPage;
RECT rc;
int nWidth;
int nHeight;
int quality;
ID_ProgressFunc pf;
void* pParam;
void* pParamEx;
};
dwFlags
Type: DWORD
ID_PID flags
nPage
Type: int
Page to decode
rc
Type: RECT
Region of page to decode, in source pixels (if PID_RECT specified)
nWidth
Type: int
Desired width of output image/region
nHeight
Type: int
Desired height of output image/region
quality
Type: int
ID_PIQ value
pf
Type: ID_ProgressFunc
Progress callback function
pParam
Type: void*
Progress callback parameter
pParamEx
Type: void*
Progress callback parameter
The calling application is responsible for freeing the memory allocated for hdib and hemf using the functions GlobalFree and DeleteEnhMetaFile, respectively (used in the ID_PageDecode and ID_PageDecodeStart functions).
Header: ID_PlugIn.h