OCR_ReleaseInputFields

<< Click to Display Table of Contents >>

Navigation:  OCR Module > Input List Handling >

OCR_ReleaseInputFields


 

PRO SDK Icon 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

);

 

Parameters

 

pInFields

This parameter is a pointer to the PXO_InputFields variable to be freed.

 

Return Values

 

If the function succeeds then the return value is OCR_OK

 

If the function fails then the return value is an error code.

 

Comments

 

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.