ITfDocumentMgr::EnumContexts method (msctf.h)

Obtains a context enumerator.

Syntax

HRESULT EnumContexts(
  [out] IEnumTfContexts **ppEnum
);

Parameters

[out] ppEnum

Address of an IEnumTfContexts pointer that receives the enumerator.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_OUTOFMEMORY
A memory allocation error occurred.
E_FAIL
The enumerator cannot be initialized.

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

IEnumTfContexts

ITfDocumentMgr