Gets a pointer to L_OcrRuntimeFileCallback function that was set by calling L_OcrEngine_SetRuntimeFileCallback.
#include "ltocr.h"
L_LTOCR_API L_INT EXT_CALLBACK L_OcrEngine_GetRuntimeFileCallback(engine, callback, userData)
Handle to the OCR engine.
Address to L_OcrRuntimeFileCallback variable to be updated with the runtime file callback.
Same user data pointer that was passed when L_OcrEngine_SetRuntimeFileCallback was called.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Refer to L_OcrEngine_SetRuntimeFileCallback for more information.
Win32, x64, Linux.
For an example, refer to L_OcrEngine_SetRuntimeFileCallback.