Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ITfCompartmentMgr interface

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

Members

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

Methods

The ITfCompartmentMgr interface has these methods.

MethodDescription
ClearCompartment

Removes the specified compartment.

EnumCompartments

Obtains an enumerator that contains the GUID of each compartment within the compartment manager.

GetCompartment

Obtains the compartment object for a specified compartment.

 

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

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

See also

IUnknown
Compartments
ITfThreadMgr::GetGlobalCompartment

 

 

Community Additions

ADD
Show:
© 2015 Microsoft