L_DocFreeMemoryResults

#include "ltdoc.h"

L_INT EXT_FUNCTION L_DocFreeMemoryResults(hDoc, ppBuffer)

L_HDOC hDoc;

/* handle to the OCR document */

L_UCHAR L_FAR ** ppBuffer;

/* buffer to be freed */

Frees the associated memory for the recognition results.

Parameter

Description

hDoc

Handle to the OCR document.

ppBuffer

Address of buffer that contains the recognition results that will be freed.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function must be called to free the memory allocated by a call to L_DocSaveResultsToMemory.

To save the recognition results to memory, call L_DocSaveResultsToMemory.

Required DLLs and Libraries

LTDOC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

L_DocGetStatus, L_DocRecognize, L_DocSaveResultsToMemory, L_DocSetRecognitionResultOptions, L_DocGetRecognitionResultOptions, L_DocEnumOutputFileFormats, L_DocGetTextFormatInfo, L_DocSaveResultsToFile, L_DocSetSpecialChar, L_DocGetSpecialChar, L_DocGetRecognizedCharacters, L_DocSetRecognizedCharacters, L_DocFreeRecognizedCharacters, L_DocGetRecognizedWords, L_DocFreeRecognizedWords

Topics:

OCR Functions: Recognition

 

Recognizing Document Pages

Example

For an example, refer to L_DocFreeMemoryResults.