ISpellCheckProvider::Suggest method (spellcheckprovider.h)
Retrieves spelling suggestions for the supplied text.
Syntax
HRESULT Suggest(
[in] LPCWSTR word,
[out, retval] IEnumString **value
);
Parameters
[in] word
The word or phrase to get suggestions for.
[out, retval] value
The list of suggestions, returned as an IEnumString object.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Successful. |
|
word is correctly spelled. value contains one entry, which is the text that was passed in. |
|
word is an empty string. |
|
word is a null pointer. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | spellcheckprovider.h |