Export (0) Print
Expand All

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

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

E_FAIL

An unspecified error occurred.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

See also

ITfCategoryMgr
ITfCategoryMgr::UnregisterCategory
Predefined Category Values

 

 

Community Additions

ADD
Show:
© 2014 Microsoft