ITfThreadMgr2::CreateDocumentMgr method (msctf.h)

Creates a document manager object.

Syntax

HRESULT CreateDocumentMgr(
  [out] ITfDocumentMgr **ppdim
);

Parameters

[out] ppdim

Pointer to an ITfDocumentMgr interface that receives the document manager object.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
ppdim is invalid.
E_OUTOFMEMORY
A memory allocation failure occurred.

Remarks

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

Requirements

   
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