ITfThreadMgr2::CreateDocumentMgr method

Creates a document manager object.

Syntax


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

Parameters

ppdim [out]

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

Return value

This method can return one of these values.

ValueDescription
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 | 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

ADD
Show:
© 2014 Microsoft