ISpellChecker::Check method (spellcheck.h)
Checks the spelling of the supplied text and returns a collection of spelling errors.
Syntax
HRESULT Check(
[in] LPCWSTR text,
[out, retval] IEnumSpellingError **value
);
Parameters
[in] text
The text to check.
[out, retval] value
The result of checking this text, returned as an IEnumSpellingError object.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Successful. |
|
text is an empty string. |
|
text is a null pointer. |
Remarks
The returned IEnumSpellingError contains the results of spell checking. A correct text returns an empty (not a null) enumeration.
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 | spellcheck.h |