EnableSystemDictionaryHRC 

2.0     

Enables or disables a recognizer s dictionary.

int EnableSystemDictionaryHRC( HRC hrc, BOOL fEnable )

Parameters

hrc

Handle to the HRC object for the recognizer.

fEnable

Enable recognition flag. This flag must be set to TRUE to enable use of the dictionary, or FALSE to disable its use.

Return Value

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

Constant

Description

HRCR_ERROR

Invalid parameter, no system dictionary, or other error.

HRCR_MEMERR

Insufficient memory.

HRCR_UNSUPPORTED

The recognizer does not support this function.

 

Comments

The enable state of the system dictionary does not affect any word lists that may be set into the HRC object.

See Also

SetWordlistHRC