ITfCompartment interface (msctf.h)

The ITfCompartment interface is implemented by the TSF manager and is used by clients (applications and text services) to obtain and set data in a TSF compartment.

A client also uses this interface to obtain an ITfSource interface that is used to install an ITfCompartmentEventSink compartment change notification sink. The client calls ITfCompartment::QueryInterface with IID_ITfSource to obtain the ITfSource interface.

Inheritance

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

Methods

The ITfCompartment interface has these methods.

 
ITfCompartment::GetValue

ITfCompartment::GetValue method
ITfCompartment::SetValue

ITfCompartment::SetValue method

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

IUnknown