AddWordsToWordList function (recapis.h)

Adds one or more words to the word list.

Syntax

HRESULT AddWordsToWordList(
  HRECOWORDLIST hwl,
  WCHAR         *pwcWords
);

Parameters

hwl

Handle to the word list.

pwcWords

Words to add to the word list. Separate words in this list with a \0 character and end the list with two \0 characters. Words that already exist in the list are not added.

Return value

This function can return one of these values.

Return code Description
S_OK
Success.
E_INVALIDARG
An invalid argument was received.
E_FAIL
Returned when the word list handle parameter is invalid.
E_POINTER
The pointer to the word list is incorrect.

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

See also

MakeWordList Function

SetWordList Function