Reports the status of the recognized page.
Zero-based index for the recognized page.
Specifies the error returned from the recognition process.
A void pointer that you can use to access a variable or structure containing data that your callback function needs. This gives you a way to receive data indirectly from the function that uses this callback function. (This is the same pointer that you pass in the pUserData parameter of the L_Doc2Recognize / L_Doc2RecognizeExt function.)
Keep in mind that this is a void pointer, which must be cast to the appropriate data type within your callback function.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
RECOGNIZESTATUSCALLBACK2 is invoked after recognizing each page. It reports the recognized page's index with the error code (status) that was returned from the recognition process.
If RECOGNIZESTATUSCALLBACK2 returns an error code < SUCCESS, the recognition process is terminated, and no more pages processed.
When RECOGNIZESTATUSCALLBACK2 returns SUCCESS, recognition continues.
Required DLLs and Libraries
For an example, refer to L_Doc2Recognize.