ITfCategoryMgr::EnumCategoriesInItem method (msctf.h)

Obtains an IEnumGUID interface that enumerates all categories to which the specified GUID belongs.

Syntax

HRESULT EnumCategoriesInItem(
  [in]  REFGUID   rguid,
  [out] IEnumGUID **ppEnum
);

Parameters

[in] rguid

Contains a GUID value that identifies the item to enumerate the categories for.

[out] ppEnum

Pointer to an IEnumGUID interface pointer that receives the enumerator.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_FAIL
An unspecified error occurred.
E_INVALIDARG
ppEnum is invalid.
E_OUTOFMEMORY
There is insufficient memory to perform the operation.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header msctf.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfCategoryMgr interface, ITfCategoryMgr::EnumItemsInCategory, ITfCategoryMgr::RegisterCategory