IInkWordList2::AddWords method (msinkaut.h)
Adds more than one word to an InkWordList in a single operation.
Syntax
HRESULT AddWords(
[in] BSTR NewWords
);
Parameters
[in] NewWords
A BSTR of NULL separated words terminated by a double NULL containing the words to add to the InkWordList.
For more information about the BSTR data type, see Using the COM Library.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
At least one word already exists in the list. |
|
Cannot allocate memory to complete the operation. |
|
An unspecified error occurred. |
|
A parameter contained an invalid pointer. |
|
An exception occurred inside the method. |
Remarks
To access this method, first create and instance of the InkWordList Class, then call QueryInterface to get a pointer to the IInkWordList2 Interface. Use this pointer to call the AddWords Method.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | msinkaut.h |
Library | InkObj.dll |