ITfDisplayAttributeMgr::GetDisplayAttributeInfo method

Syntax


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

Parameters

guid [in]

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.

ppInfo [out]

Pointer to an ITfDisplayAttributeInfo interface pointer that receives the object.

pclsidOwner [out]

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.

ValueDescription
S_OK

The method was successful.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

See also

ITfDisplayAttributeMgr
ITfContext::GetProperty
ITfContext::TrackProperties
ITfDisplayAttributeInfo

 

 

Show: