ITfLangBarItemMgr::GetItem method (ctfutb.h)

Obtains the ITfLangBarItem interface for an item in the language bar.

Syntax

HRESULT GetItem(
  [in]  REFGUID        rguid,
  [out] ITfLangBarItem **ppItem
);

Parameters

[in] rguid

GUID that identifies the item to obtain. This is the item GUID that the item supplies in ITfLangBarItem::GetInfo. This identifier can be a custom value or one of the predefined language bar items.

[out] ppItem

Pointer to an ITfLangBarItem interface pointer that receives the item interface.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
S_FALSE
The item cannot be found.
E_INVALIDARG
The ppItem 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
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfLangBarItem

ITfLangBarItem::GetInfo

ITfLangBarItemMgr

Predefined language bar items