ITextStoreAnchorSink::OnEndEditTransaction method (textstor.h)

Called when an edit transaction is terminated.

Syntax

HRESULT OnEndEditTransaction();

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_UNEXPECTED
The reference count of the edit transaction is incorrect.

Remarks

This method causes the ITfEditTransactionSink::OnEndEditTransaction method to be called on all installed edit transaction sinks.

An edit transaction is a group of text changes that should be processed at one time. Calling ITextStoreAnchorSink::OnStartEditTransaction allows a text service to queue the upcoming changes until ITextStoreAnchorSink::OnEndEditTransaction is called. When ITextStoreAnchorSink::OnEndEditTransaction is called, the text service will process all of the queued changes.

Use of edit transactions is optional.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header textstor.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITextStoreAnchorSink

ITextStoreAnchorSink::OnStartEditTransaction

ITfEditTransactionSink::OnEndEditTransaction