Skip to main content
ITfThreadMgr2::GetGlobalCompartment method

Obtains the global compartment manager object.

Syntax


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

Parameters

ppCompMgr [out]

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

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

E_INVALIDARG

ppCompMgr is invalid.

 

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Msctf.h

IDL

Msctf.idl

See also

ITfThreadMgr2