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 | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:textstor.ITextStoreAnchorSink.OnTextChange |
ITextStoreAnchorSink::OnTextChange (textstor.h) |
ITextStoreAnchorSink::OnTextChange method |
|
tsf\itextstoreanchorsink_ontextchange.htm |
TSF |
4bdf12bc-c15e-4bdb-8bc0-53172e9c943e |
12/05/2018 |
0, ITextStoreAnchorSink interface [Text Services Framework],OnTextChange method, ITextStoreAnchorSink.OnTextChange, ITextStoreAnchorSink::OnTextChange, OnTextChange, OnTextChange method [Text Services Framework], OnTextChange method [Text Services Framework],ITextStoreAnchorSink interface, TS_TC_CORRECTION, _tsf_itextstoreanchorsink_ontextchange_ref, textstor/ITextStoreAnchorSink::OnTextChange, tsf.itextstoreanchorsink_ontextchange |
textstor.h |
Windows |
Windows 2000 Professional [desktop apps \| UWP apps] |
Windows 2000 Server [desktop apps \| UWP apps] |
Textstor.idl |
Msctf.dll |
Windows |
TSF 1.0 on Windows 2000 Professional |
19H1 |
|
|
|
|
|
|
Called when text in the text stream changes.
Contains a set of flags that specify additional information about the text change. This can be one or more of the following values.
Pointer to an anchor located at the start of the changed text.
Pointer to an anchor located at the end of the changed text.
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
The method was unable to create cloned anchors to contain the change. |
|
paStart or paEnd is invalid. |
|
A memory allocation failure occurred. |
|
The TSF manager holds a lock on the document. This typically indicates that the method was called from within another ITextStoreAnchor method, such as ITextStoreAnchor::SetText. |
This method is called only when the application modifies its own text, not when a client modifies text with one of the ITextStoreAnchor methods, such as ITextStoreAnchor::SetText or ITextStoreAnchor::InsertTextAtSelection.
When calling this method, the application must be able to grant a document lock.