ITextStoreAnchorSink::OnStartEditTransaction method (textstor.h)

Called when an edit transaction is started.

Syntax

HRESULT OnStartEditTransaction();

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.

Remarks

This method will 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 this method 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 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::OnEndEditTransaction

ITfEditTransactionSink::OnStartEditTransaction