IUserDictionariesRegistrar interface (spellcheck.h)

Manages the registration of user dictionaries.

Inheritance

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

Methods

The IUserDictionariesRegistrar interface has these methods.

 
IUserDictionariesRegistrar::RegisterUserDictionary

Registers a file to be used as a user dictionary for the current user, until unregistered.
IUserDictionariesRegistrar::UnregisterUserDictionary

Unregisters a previously registered user dictionary.

Remarks

IUserDictionariesRegistrar allows clients to persistently register and unregister user dictionary files that exist in locations other than the usual dictionary path (%AppData%\Microsoft\Spelling). The dictionaries must have the same file formats as the ones located in the normal path and also should have the appropriate file extensions. However, it is strongly recommended for clients to place their dictionaries under %AppData%\Microsoft\Spelling whenever possible—the spell checking functionality does not pick up changes in dictionaries outside that directory tree.

This interface is obtained through a QueryInterface in ISpellCheckerFactory.

The combined size of all registered dictionary files must be less than 1 MB by default. This can be increased to 2 MB by setting the registry key HKEY_CURRENT_USER\Software\Microsoft\Spelling\Dictionaries\AllowBiggerUD to the value 1. For more information about the Windows registry, see Registry.

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