ITfCategoryMgr::RegisterCategory method (msctf.h)
Adds a specified GUID to the specified category in the Windows registry.
Syntax
HRESULT RegisterCategory(
[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 value that identifies the category to register the item under. This can be a user-defined category or one of the predefined category values.
[in] rguid
Contains a GUID value that identifies the item to register.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
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::UnregisterCategory, Predefined Category Values