<< Click to Display Table of Contents >> Navigation: OCR Module > Input List Handling > OCR_ReleaseInputFields |
OCR_ReleaseInputFields frees the memory that PXO_InputFields structures use. Please note that all elements are case-sensitive:
HRESULT OCR_ReleaseInputFields(
PXO_InputFields *pInFields
);
pInFields
This parameter is a pointer to the PXO_InputFields variable to be freed.
If the function succeeds then the return value is OCR_OK
If the function fails then the return value is an error code.
This function frees all internal BSTR members of PXO_InputFields. All internal BSTRs are copies of the BSTRs that PXO_InputField structures input and calls to OCR_AddInputField. The original input BSTR members are not affected when OCR_ReleaseInputFields is called, and therefore they must be freed in an alternative manner.