ITfLangBarItemMgr::AddItem method

Syntax


HRESULT AddItem(
  [in] ITfLangBarItem *punk
);

Parameters

punk [in]

Pointer to the ITfLangBarItem object to add to the language bar.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

E_FAIL

An unspecified error occurred.

E_INVALIDARG

punk is invalid.

E_OUTOFMEMORY

A memory allocation failure occurred.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Ctfutb.h

IDL

Ctfutb.idl

DLL

Msctf.dll

See also

ITfLangBarItemMgr
ITfLangBarItem

 

 

Show: