ITfContext::GetDocumentMgr method (msctf.h)
Obtains the document manager that contains the context.
HRESULT GetDocumentMgr( [out] ITfDocumentMgr **ppDm );
Pointer to an ITfDocumentMgr interface pointer that receives the document manager.
This method can return one of these values.
||The method was successful.|
||The context is not contained in any document manager. ppDm is set to NULL.|
||ppDm is invalid.|
If the context is not contained within a document manager, this method returns S_FALSE and ppDm is set to NULL. This occurs when the context is removed from the context stack through a call to ITfDocumentMgr::Pop.
|Minimum supported client||Windows 2000 Professional [desktop apps | UWP apps]|
|Minimum supported server||Windows 2000 Server [desktop apps | UWP apps]|
|Redistributable||TSF 1.0 on Windows 2000 Professional|