IAnchor::GetChangeHistory method (textstor.h)

The IAnchor::GetChangeHistory method gets the history of deletions that have occurred immediately preceding or following the anchor.

Syntax

HRESULT GetChangeHistory(
  [out] DWORD *pdwHistory
);

Parameters

[out] pdwHistory

Bit field flags that specify that deletions have occurred immediately preceding or following the anchor. One or both of the following values can be set.

Value Meaning
TS_CH_PRECEDING_DEL
Text preceding the anchor has been deleted.
TS_CH_FOLLOWING_DEL
Text following the anchor has been deleted.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
The value of pdwHistory is invalid.

Remarks

The pdwHistory change flags must be set when deletions adjacent to the anchor have occurred.

The change flags remain set until they are cleared with a call to IAnchor::ClearChangeHistory.

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 textstor.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

IAnchor

IAnchor::ClearChangeHistory