ITfCleanupContextSink interface (msctf.h)

The ITfCleanupContextSink interface is implemented by a text service to receive notifications when a context cleanup operation occurs. This notification sink is installed by calling ITfSourceSingle::AdviseSingleSink with IID_ITfCleanupContextSink.

Inheritance

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

Methods

The ITfCleanupContextSink interface has these methods.

 
ITfCleanupContextSink::OnCleanupContext

ITfCleanupContextSink::OnCleanupContext method

Remarks

A context cleanup occurs when:

  • The text service is deactivated while a context is still on the context stack. This can occur when the active text service is changed or when the active language changes while the text service is active.
  • ITfThreadMgr::Deactivate is called while a context is still on the context stack.

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
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfSourceSingle::AdviseSingleSink

ITfThreadMgr::Deactivate

IUnknown