ITfSystemLangBarItemText::SetItemText method (ctfutb.h)

The ITfSystemLangBarItemText::SetItemText method modifies the text displayed for the system language bar menu.

Syntax

HRESULT SetItemText(
  [in] const WCHAR *pch,
  [in] ULONG       cch
);

Parameters

[in] pch

[in] A string that appears as a description.

[in] cch

[in] Size, in characters, of the string.

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
A parameter is invalid.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header ctfutb.h (include Msctf.h)
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional