MakeWordList function (recapis.h)
Creates a word list.
Syntax
HRESULT MakeWordList(
HRECOGNIZER hrec,
WCHAR *pBuffer,
HRECOWORDLIST *phwl
);
Parameters
hrec
Handle to the recognizer.
pBuffer
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
Handle to the new word list.
Return value
This function can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
An unspecified error occurred. |
|
The pointer to the word list is incorrect. |
|
An invalid argument was received. |
|
Unable to allocate memory to complete the operation. |
|
An error is found in one of the words in the list. Possible errors include unsupported characters, spaces at the start or the end of the word or more than a single space between words. All words up to the incorrect word are added to the word list. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP Tablet PC Edition [desktop apps | UWP apps] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | recapis.h |
DLL | inkobjcore.dll |