DestroyHRC
2.0
Destroys an HRC
object. A recognizer must export this function.
int DestroyHRC( HRC hrc )
Parameters
hrc
Handle to the
HRC object.
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
If the HRC
contains other objects such as an HPENDATA object, the recognizer must
destroy the contained objects as well. After DestroyHRC returns HRCR_OK,
the handle hrc is no longer valid. The application should set hrc
to NULL to ensure it is not inadvertently used again.
See Also