Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
TSF Reference
TSF Interfaces
ITfCategoryMgr
 ITfCategoryMgr::RegisterCategory Me...

  Switch on low bandwidth view
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

ClientRequires Windows XP, Windows 2000 Professional, or Windows NT Workstation.
RedistributableRequires TSF 1.0 on Windows NT 4.0, Windows 2000 Professional and Windows MeWindows 98.
HeaderDeclared in Msctf.idl and Msctf.h.
DLLRequires Msctf.dll.

See Also

ITfCategoryMgr
ITfCategoryMgr::UnregisterCategory
Predefined Category Values


Send comments about this topic to Microsoft

Build date: 12/17/2008

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker