MakeWordList Function
MakeWordList Function |
Creates a word list.
Syntax
[C++]
HRESULT WINAPI MakeWordList(
HRECOGNIZER hrec,
WCHAR *pBuffer
HRECOWORDLIST *phwl
);
Parameters
hrec
[in] Handle to the recognizer.
pBuffer
[in] Words to insert into the new word list. Separate words in this list with a \0 character and end the list with two \0 characters.
phwl
[out] Handle to the new word list.
Return Value
HRESULT value | Description |
---|---|
S_OK | Success. |
E_FAIL | An unspecified error occurred. |
E_POINTER | The pointer to the word list is incorrect. |
E_OUTOFMEMORY | Unable to allocate memory to complete the operation. |