<< Click to Display Table of Contents >> Navigation: OCR Module > Low-Level Functions > OCRp_FreePage |
OCRp_FreePage is used to delete PXO_Page structures and free the memory that they use. Please note that all elements are case-sensitive:
HRESULT OCRp_FreePage(
PXO_Page *pPageResults
);
pPageResults
A pointer to the PXO_Page object to delete.
If the function succeeds then the return value is DS_OK.
If the function fails then the return value is an error code.
Please note that this function deletes the PXO_Page object and its associated PXO_Region structures. Any PXO_Region structures that calls to OCRp_GetRegionFromPage retrieved will be invalid after calling this function on the parent PXO_Page.