ITfCategoryMgr::UnregisterCategory method (msctf.h)

Removes a specified GUID from the specified category in the Windows registry.

Syntax

HRESULT UnregisterCategory(
  [in] REFCLSID rclsid,
  [in] REFGUID  rcatid,
  [in] REFGUID  rguid
);

Parameters

[in] rclsid

Contains the CLSID of the text service that owns the item.

[in] rcatid

Contains a GUID that identifies the category that the item is registered under.

[in] rguid

Contains a GUID that identifies the item to remove.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_FAIL
An unspecified error occurred.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header msctf.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfCategoryMgr interface, ITfCategoryMgr::RegisterCategory