ITfDisplayAttributeProvider::GetDisplayAttributeInfo method

Syntax


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

Parameters

guid [in]

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.

ppInfo [out]

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

Return value

This method can return one of these values.

ValueDescription
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

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

Imjpcic.dll

See also

ITfDisplayAttributeProvider
ITfDisplayAttributeInfo
ITfCategoryMgr::RegisterCategory
Providing Display Attributes

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.