IUserDictionariesRegistrar::UnregisterUserDictionary method (spellcheck.h)

Unregisters a previously registered user dictionary. The dictionary will no longer be used by the spell checking functionality.

Syntax

HRESULT UnregisterUserDictionary(
  [in] LPCWSTR dictionaryPath,
  [in] LPCWSTR languageTag
);

Parameters

[in] dictionaryPath

The path of the dictionary file to be unregistered.

[in] languageTag

The language for which this dictionary was used. It must match the language passed to RegisterUserDictionary.

Return value

This method can return one of these values.

Return value Description
S_OK
Successful.
E_POINTER
dictionaryPath or languageTag is a null pointer.

Remarks

Note  To unregister a given file, this method must be passed the same arguments that were previously used to register it.
 

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

See also

IUserDictionariesRegistrar