typedef struct _tagProgressData2
{
L_UINT uStructSize;
DOC2_OCRPROCID Id;
L_INT nPercent;
} PROGRESSDATA2, * pPROGRESSDATA2;
The PROGRESSDATA2 structure provides progress information. It is used by the PROGRESSCALLBACK2 function.
Structure size. Set it to sizeof(PROGRESSDATA2).
Identifier of the process currently running. For a list of possible values, refer to DOC2_OCRPROCID.
Progress of the current process expressed as a percentage.
pPROGRESSDATA2 is a pointer to a PROGRESSDATA2 structure. If the function parameter type is pPROGRESSDATA2, declare a PROGRESSDATA2 variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pPROGRESSDATA2 variable is necessary only if the program requires a pointer.
This structure is filled only when PROGRESSCALLBACK2 is called. The PROGRESSCALLBACK2 function is called if you have set a callback function with L_Doc2SetProgressCB / L_Doc2SetProgressCBExt.