ITfCompartmentMgr interface (msctf.h)

The ITfCompartmentMgr interface is implemented by the TSF manager and used by clients (applications and text services) to obtain and manipulate TSF compartments.

Inheritance

The ITfCompartmentMgr interface inherits from the IUnknown interface. ITfCompartmentMgr also has these types of members:

Methods

The ITfCompartmentMgr interface has these methods.

 
ITfCompartmentMgr::ClearCompartment

ITfCompartmentMgr::ClearCompartment method
ITfCompartmentMgr::EnumCompartments

The ITfCompartmentMgr::EnumCompartments method obtains an enumerator that contains the GUID of the compartments within the compartment manager.
ITfCompartmentMgr::GetCompartment

ITfCompartmentMgr::GetCompartment method

Remarks

The set of compartments that this interface is responsible for depends upon how the interface was obtained. An instance of this interface can be obtained in one of the following ways. For more information, see Compartments.

  • ITfThreadMgr::GetGlobalCompartment - Obtains the global compartment manager.
  • ITfThreadMgr::QueryInterface with IID_ITfCompartmentMgr - Obtains the compartment manager for this specific thread manager.
  • ITfDocumentMgr::QueryInterface with IID_ITfCompartmentMgr - Obtains the compartment manager for this specific document manager.
  • ITfContext::QueryInterface with IID_ITfCompartmentMgr - Obtains the compartment manager for this specific context.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header msctf.h
Redistributable TSF 1.0 on Windows 2000 Professional

See also

Compartments

ITfThreadMgr::GetGlobalCompartment

IUnknown