ISpellCheckProviderFactory::CreateSpellCheckProvider method (spellcheckprovider.h)
Creates a spell checker (implemented by a spell check provider) that supports the specified language. This interface is not used directly by clients, but by the Spell Checking API.
Syntax
HRESULT CreateSpellCheckProvider(
[in] LPCWSTR languageTag,
[out, retval] ISpellCheckProvider **value
);
Parameters
[in] languageTag
A BCP47 language tag that identifies the language for the requested spell checker.
[out, retval] value
The created spell checker.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Successful. |
|
languageTag is an empty string, or there is no spell checker available for languageTag. |
|
languageTag is a null pointer. |
Remarks
ISpellCheckProviderFactory::IsSupported can be called to determine if languageTag is supported.
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 |