Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITfThreadMgr2::EnumDocumentMgrs method

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

Syntax


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

Parameters

ppEnum [out]

Pointer to a IEnumTfDocumentMgrs interface that receives the enumerator.

Return value

This method can return one of these values.

ValueDescription
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

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Msctf.h

IDL

Msctf.idl

See also

ITfThreadMgr2

 

 

Community Additions

Show:
© 2014 Microsoft