Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Registers a new word or deletes an existing word in the IFEDictionary.
Syntax
HRESULT RegisterWord(
[in] IMEREG reg,
[in] IMEWRD *pwrd
);
Parameters
[in] reg
Type of operation to perform. This can be one of the following values:
| Value | Meaning |
|---|---|
|
Register the word at the head of the dictionary. |
|
Register the word at the tail of the dictionary. |
|
Delete the word from the dictionary. |
[in] pwrd
An IMEWRD structure specifying the word to register or delete.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
The method was successful. |
|
This IFEDictionary object is not a user dictionary. |
|
The word is already registered. |
|
Failed to insert the user comment. |
|
Failed to register or delete the word. |
|
An unexpected error. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Target Platform | Windows |
| Header | msime.h |