ITfThreadMgr2::GetGlobalCompartment 方法 (msctf.h)

取得全域區間管理員物件。

語法

HRESULT GetGlobalCompartment(
  [out] ITfCompartmentMgr **ppCompMgr
);

參數

[out] ppCompMgr

接收全域區間管理員的 ITfCompartmentMgr 介面指標。

傳回值

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

描述
S_OK
此方法成功。
E_INVALIDARG
ppCompMgr 無效。

規格需求

需求
最低支援的用戶端 Windows 8 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows Server 2012 [傳統型應用程式 |UWP 應用程式]
目標平台 Windows
標頭 msctf.h

另請參閱

ITfThreadMgr2