ITfDisplayAttributeInfo::SetAttributeInfo method

Syntax


HRESULT SetAttributeInfo(
  [inconst TF_DISPLAYATTRIBUTE *pda
);

Parameters

pda [in]

Pointer to a TF_DISPLAYATTRIBUTE structure that contains the new display attribute data.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

E_NOTIMPL

The display attribute provider does not support attribute modification.

E_INVALIDARG

pda is invalid.

 

Remarks

The implementation of this method should not call ITfDisplayAttributeMgr::OnUpdateInfo in response to this method. The caller must do so. This avoids redundant notifications if more than one attribute is modified. The caller must eventually call ITfDisplayAttributeMgr::OnUpdateInfo so that other clients will receive an attribute update notification.

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

ITfDisplayAttributeInfo
TF_DISPLAYATTRIBUTE
ITfDisplayAttributeMgr::OnUpdateInfo

 

 

Show: