GetWordlistHRC 

2.0     

Retrieves a word list from a recognition context HRC.

int GetWordlistHRC( HRC hrc, LPHWL lphwl )

Parameters

hrc

Handle to the HRC object.

lphwl

Address of a handle to a word list. The recognizer sets the handle to NULL if the recognition context does not contain a word list.

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.

HRCR_UNSUPPORTED

The recognizer does not support this function.

 

Comments

An HRC can be configured for only one word list at a time. This is independent of the recognizer s dictionary, which can be manipulated through the EnableSystemDictionaryHRC1AOBV0 function.

For a description of word lists and how a recognizer uses them, see  Configuring the HRC  in Chapter 5,  The Recognition Process. 

See Also

SetWordlistHRC