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 |
---|---|
|
Successful. |
|
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for