Skip to main content
ISpellCheckerFactory interface

A factory for instantiating a spell checker ( ISpellChecker) as well as providing functionality for determining which languages are supported.

ISpellCheckerFactory is the starting point for clients of the Spell Checking API, which should be created as an in-proc COM Server as shown in the example below.

Members

The ISpellCheckerFactory interface inherits from the IUnknown interface. ISpellCheckerFactory also has these types of members:

Methods

The ISpellCheckerFactory interface has these methods.

MethodDescription
CreateSpellChecker

Creates a spell checker that supports the specified language.

IsSupported

Determines if the specified language is supported by a registered spell checker.

 

Properties

The ISpellCheckerFactory interface has these properties.

PropertyAccess typeDescription

SupportedLanguages

Read-only

Gets the set of languages/dialects supported by any of the registered spell checkers.

 

Examples

Create the in-proc COM Server:


ISpellCheckerFactory* spellCheckerFactory;
HRESULT hr = CoCreateInstance(CLSID_SpellCheckerFactory, CLSCTX_INPROC_SERVER, IID_SpellCheckerFactory, 
    reinterpret_cast<PVOID*>(& spellCheckerFactory));

// CLSID_SpellCheckerFactory is defined as {7AB36653-1796-484B-BDFA-E74F1DB7C1DC}.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Spellcheck.h

IDL

Spellcheck.idl

See also

ISpellChecker