ITfLangBarItemMgr::RemoveItem method (ctfutb.h)

Removes an item from the language bar.

Syntax

HRESULT RemoveItem(
  [in] ITfLangBarItem *punk
);

Parameters

[in] punk

Pointer to the ITfLangBarItem object to remove from the language bar. The language bar will call ITfLangBarItem::GetInfo and use the item GUID to identify the item to remove.

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
punk 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
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfLangBarItem

ITfLangBarItem::GetInfo

ITfLangBarItemMgr