ITfCleanupContextDurationSink interface (msctf.h)
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:
Methods
The ITfCleanupContextDurationSink interface has these methods.
ITfCleanupContextDurationSink::OnEndCleanupContext ITfCleanupContextDurationSink::OnEndCleanupContext method |
ITfCleanupContextDurationSink::OnStartCleanupContext ITfCleanupContextDurationSink::OnStartCleanupContext 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for