Enumerates the available file formats. The address of this callback is passed as an argument to the L_Doc2EnumOutputFileFormats function.
Specifies the output format that is available in OCR document engine.
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_Doc2EnumOutputFileFormats 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.|
To get all available output formats, call the L_Doc2EnumOutputFileFormats function. Pass the address of your callback function of ENUMOUTPUTFILEFORMATS2 to the pfnCallback parameter.
To get extra information about any format, call the L_Doc2GetTextFormatInfo function.
Required DLLs and Libraries
For an example, refer to L_Doc2EnumOutputFileFormats.