L_DocFreeMemoryResults
#include "ltdoc.h"
L_INT EXT_FUNCTION L_DocFreeMemoryResults(hDoc, ppBuffer)
L_HDOC hDoc; |
/* handle to the OCR document */ |
/* 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
Example
For an example, refer to L_DocFreeMemoryResults.