ITfThreadMgr2::GetGlobalCompartment method (msctf.h)

Obtains the global compartment manager object.

Syntax

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

Parameters

[out] ppCompMgr

Pointer to a ITfCompartmentMgr interface that receives the global compartment manager.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
ppCompMgr is invalid.

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

See also

ITfThreadMgr2