IUserDictionariesRegistrar::UnregisterUserDictionary method

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

dictionaryPath [in]

The path of the dictionary file to be unregistered.

languageTag [in]

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 valueDescription
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

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

IUserDictionariesRegistrar

 

 

Show: