TF_CreateLangBarItemMgr function (msctf.h)

The TF_CreateLangBarItemMgr function is used to create a language bar item manager object without having to initialize COM. Usage of this method is not recommended, because the calling process must maintain a proper reference count on an object that is owned by Msctf.dll.

It is instead recommended that language bar item manager objects be created using CoCreateInstance , as demonstrated in ITfLangBarItemMgr.

Syntax

HRESULT TF_CreateLangBarItemMgr(
  [out] ITfLangBarItemMgr **pplbim
);

Parameters

[out] pplbim

Pointer to an ITfLangBarItemMgr interface pointer that receives the language bar item manager object.

Return value

Value Meaning
S_OK The function was successful.
E_FAIL An unspecified error occurred.
E_INVALIDARG pplbim 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 msctf.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

CoCreateInstance

GetProcAddress

ITfLangBarItemMgr

LoadLibrary