ITfDisplayAttributeMgr::GetDisplayAttributeInfo method (msctf.h)

Obtains a display attribute data object.

Syntax

HRESULT GetDisplayAttributeInfo(
  [in]  REFGUID                 guid,
  [out] ITfDisplayAttributeInfo **ppInfo,
  [out] CLSID                   *pclsidOwner
);

Parameters

[in] guid

Contains a GUID that identifies the display attribute data requested. This value is obtained by obtaining the GUID_PROP_ATTRIBUTE property for the range of text. For more information, see ITfContext::GetProperty and ITfContext::TrackProperties.

[out] ppInfo

Pointer to an ITfDisplayAttributeInfo interface pointer that receives the object.

[out] pclsidOwner

Pointer to a CLSID value that receives the CLSID of the display attribute provider. This parameter can be NULL if the CLSID is not required.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.

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

See also

ITfDisplayAttributeMgr interface, IEnumTfDisplayAttributeInfo interface, ITfContext::GetProperty, ITfContext::TrackProperties