ITfCompartmentMgr::EnumCompartments method (msctf.h)

The ITfCompartmentMgr::EnumCompartments method obtains an enumerator that contains the GUID of the compartments within the compartment manager.

Syntax

HRESULT EnumCompartments(
  [out] IEnumGUID **ppEnum
);

Parameters

[out] ppEnum

Pointer to an IEnumGUID interface pointer that receives the enumerator object.

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
ppcEnum is invalid.
E_OUTOFMEMORY
A memory allocation failure occurred.

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

ITfCompartmentMgr interface, ITfCompartment interface, Compartments