ITextStoreAnchor::RequestAttrsAtPosition method (textstor.h)

Obtains a list of attributes that begin or end at the specified anchor location.

Syntax

HRESULT RequestAttrsAtPosition(
  [in] IAnchor         *paPos,
  [in] ULONG           cFilterAttrs,
  [in] const TS_ATTRID *paFilterAttrs,
  [in] DWORD           dwFlags
);

Parameters

[in] paPos

Pointer to the anchor.

[in] cFilterAttrs

Specifies the number of attributes to obtain.

[in] paFilterAttrs

Pointer to the TS_ATTRID data type that specifies the attribute to verify.

[in] dwFlags

Must be zero.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
The paPos anchor is 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

See also

ITextStoreAnchor

ITextStoreAnchor::RetrieveRequestedAttrs

TS_ATTRID