ITfThreadMgr::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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header msctf.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfDocumentMgr

ITfThreadMgr