DestroyHRCRESULT 

2.0     

Destroys an HRCRESULT object. A recognizer must export this function.

int DestroyHRCRESULT( HRCRESULT hrcresult )

Parameters

hrcresult

Handle to the HRCRESULT object to destroy.

Return Value

Returns HRCR_OK if successful; otherwise, returns one of the following negative values:

Constant

Description

HRCR_ERROR

Invalid parameter or other error.

HRCR_MEMERR

Insufficient memory.

 

Comments

A recognizer must maintain a count of the number of HRCRESULT objects it creates. If an application calls DestroyHRC1AOBU6, the recognizer should not remove the HRC from memory until the application has called DestroyHRCRESULT for all HRCRESULT objects associated with the HRC.

After DestroyHRCRESULT returns HRCR_OK, the handle hrcresult is no longer valid. The application should set hrcresult to NULL to ensure it is not inadvertently used again.

See Also

GetResultsHRC