ITfDisplayAttributeInfo::SetAttributeInfo method (msctf.h)

Sets the new attribute data.

Syntax

HRESULT SetAttributeInfo(
  [in] const TF_DISPLAYATTRIBUTE *pda
);

Parameters

[in] pda

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

Return value

This method can return one of these values.

Value Description
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

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

ITfDisplayAttributeInfo interface, ITfDisplayAttributeMgr::OnUpdateInfo, TF_DISPLAYATTRIBUTE structure, ITfDisplayAttributeInfo::GetAttributeInfo