ITfCleanupContextDurationSink interface

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

Members

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

Methods

The ITfCleanupContextDurationSink interface has these methods.

MethodDescription
OnEndCleanupContext

Called when a context cleanup operation completes.

OnStartCleanupContext

Called when a context cleanup operation is about to begin.

 

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.

A text service can use the notifications of this interface to prevent itself from performing any context initialization during the context cleanup operation.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Imekrcic.dll

See also

IUnknown
ITfThreadMgr::Deactivate
ITfSourceSingle::AdviseSingleSink

 

 

Show: