ITfDisplayAttributeProvider::GetDisplayAttributeInfo method (msctf.h)

Obtains a display attribute provider object for a particular display attribute.

Syntax

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

Parameters

[in] guid

Contains a GUID value that identifies the display attribute to obtain the display attribute information object for. The text service must publish these values and what they indicate. This identifier can also be obtained by enumerating the display attributes for a range of text.

[out] ppInfo

Pointer to an ITfDisplayAttributeInfo interface pointer that receives the display attribute information object.

Return value

This method can return one of these values.

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

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 Imjpcic.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfCategoryMgr::RegisterCategory

ITfDisplayAttributeInfo

ITfDisplayAttributeProvider

Providing Display Attributes