This topic has not yet been rated - Rate this topic

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 only]

Minimum supported server

Windows 2000 Server [desktop apps only]

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

 

 

Send comments about this topic to Microsoft

Build date: 5/16/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.