ITextStoreACPSink::OnAttrsChange method (textstor.h)

Called when the value of one or more text attribute changes.

Syntax

HRESULT OnAttrsChange(
  [in] LONG            acpStart,
  [in] LONG            acpEnd,
  [in] ULONG           cAttrs,
  [in] const TS_ATTRID *paAttrs
);

Parameters

[in] acpStart

Specifies the starting point of the attribute change.

[in] acpEnd

Specifies the ending point of the attribute change.

[in] cAttrs

Specifies the number of attributes in the paAttrs array.

[in] paAttrs

Pointer to an array of TS_ATTRID values that identify the attributes changed.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_OUTOFMEMORY
A memory allocation failure occurred.
E_INVALIDARG
One or more parameters are invalid.

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