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 |
---|---|
|
The method was successful. |
|
ppdim is invalid. |
|
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 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | msctf.h |