Syntax
HRESULT RegisterCategory(
[in] REFCLSID rclsid,
[in] REFGUID rcatid,
[in] REFGUID rguid
);
Parameters
- rclsid [in]
-
Contains the CLSID of the text service that owns the item.
- rcatid [in]
-
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.
- rguid [in]
-
Contains a GUID value that identifies the item to register.
Return Value
The method can return one of the following values.
| Value | Description |
- S_OK
| The method was successful.
|
- E_FAIL
| An unspecified error occurred.
|
Requirements
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| Redistributable | TSF 1.0 onWindows NT 4.0,Windows 2000 ProfessionalandWindows MeWindows 98 |
| Header | Msctf.idl and Msctf.h |
| DLL | Msctf.dll |
See Also
-
ITfCategoryMgr
-
ITfCategoryMgr::UnregisterCategory
-
Predefined Category Values
Send comments about this topic to Microsoft
Build date: 7/14/2009