ITfThreadMgr2::EnumDocumentMgrs method (msctf.h)

Returns an enumerator for all the document managers within the calling thread.

Syntax

HRESULT EnumDocumentMgrs(
  [out] IEnumTfDocumentMgrs **ppEnum
);

Parameters

[out] ppEnum

Pointer to a IEnumTfDocumentMgrs interface that receives the enumerator.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
ppEnum is invalid.
E_OUTOFMEMORY
A memory allocation failure occurred.
E_FAIL
An unspecified error occurred.

Remarks

The caller must release the enumerator when it is no longer required.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header msctf.h

See also

ITfThreadMgr2