iTfCoNtext::GetDocumentMgr 方法 (msctf.h)

取得包含內容的檔管理員。

語法

HRESULT GetDocumentMgr(
  [out] ITfDocumentMgr **ppDm
);

參數

[out] ppDm

接收檔管理員之 ITfDocumentMgr 介面指標的指標。

傳回值

這個方法可以傳回下列其中一個值。

描述
S_OK
此方法成功。
S_FALSE
內容未包含在任何檔管理員中。 ppDm 設定為 Null
E_INVALIDARG
ppDm 無效。

備註

如果內容未包含在檔管理員內,此方法會傳回S_FALSE, 而 ppDm 會設定為 Null。 當透過 呼叫 ITfDocumentMgr::P op從內容堆疊中移除內容時,就會發生這種情況。

需求

   
最低支援的用戶端 Windows 2000 專業版 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows 2000 Server [傳統型應用程式 |UWP 應用程式]
目標平台 Windows
標頭 msctf.h
Dll Msctf.dll
可轉散發套件 Windows 2000 專業版上的 TSF 1.0

另請參閱

ITfCoNtext 介面ITfDocumentMgr 介面ITfDocumentMgr::P op