ITfCategoryMgr::RegisterCategory Method

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.

ValueDescription
S_OK

The method was successful.

E_FAIL

An unspecified error occurred.

 

Requirements

Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
RedistributableTSF 1.0 onWindows NT 4.0,Windows 2000 ProfessionalandWindows MeWindows 98
HeaderMsctf.idl and Msctf.h
DLLMsctf.dll

See Also

ITfCategoryMgr
ITfCategoryMgr::UnregisterCategory
Predefined Category Values

Send comments about this topic to Microsoft

Build date: 7/14/2009

Tags :


Page view tracker