Skip to content

Latest commit

 

History

History
83 lines (66 loc) · 3.26 KB

nn-msctf-itfcleanupcontextdurationsink.md

File metadata and controls

83 lines (66 loc) · 3.26 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NN:msctf.ITfCleanupContextDurationSink
ITfCleanupContextDurationSink (msctf.h)
The ITfCleanupContextDurationSink interface is implemented by a text service to receive notifications when a context cleanup operation is performed.
ITfCleanupContextDurationSink
ITfCleanupContextDurationSink interface [Text Services Framework]
ITfCleanupContextDurationSink interface [Text Services Framework]
described
_tsf_itfcleanupcontextdurationsink_ref
msctf/ITfCleanupContextDurationSink
tsf.itfcleanupcontextdurationsink
tsf\itfcleanupcontextdurationsink.htm
TSF
2bbdc26a-5543-4de4-b347-2062be593c4b
12/05/2018
ITfCleanupContextDurationSink, ITfCleanupContextDurationSink interface [Text Services Framework], ITfCleanupContextDurationSink interface [Text Services Framework],described, _tsf_itfcleanupcontextdurationsink_ref, msctf/ITfCleanupContextDurationSink, tsf.itfcleanupcontextdurationsink
msctf.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Msctf.idl
Imekrcic.dll
Windows
TSF 1.0 on Windows 2000 Professional
19H1
ITfCleanupContextDurationSink
msctf/ITfCleanupContextDurationSink
c++
APIRef
kbSyntax
COM
imekrcic.dll
ITfCleanupContextDurationSink

ITfCleanupContextDurationSink interface

-description

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.

-inheritance

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

-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.

-see-also

ITfSourceSingle::AdviseSingleSink

ITfThreadMgr::Deactivate

IUnknown