GetSymbolCountHRCRESULT
2.0
Retrieves the
count of symbols available in a recognition result. A recognizer must export
this function.
int GetSymbolCountHRCRESULT( HRCRESULT hrcresult
)
Parameters
hrcresult
Handle of a
results object.
Return Value
Returns the
count of symbols if successful; otherwise, returns one of the following
negative values:
Constant |
Description |
HRCR_ERROR |
Invalid
parameter or other error. |
HRCR_MEMERR |
Insufficient
memory. |
Comments
This function
is typically called before GetSymbolsHRCRESULT1AOBZ7 to determine the size of a buffer required
to store the symbol values returned in a recognition result. To calculate the
size of the buffer, multiply the value returned by this function by sizeof( SYV ).
See Also