ITfThreadMgr::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 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header msctf.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfCompartmentMgr

ITfThreadMgr