TF_CreateLangBarMgr function (msctf.h)

The TF_CreateLangBarMgr function creates a language bar 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 manager objects be created using CoCreateInstance , as demonstrated in ITfLangBarMgr.

Syntax

HRESULT TF_CreateLangBarMgr(
  ITfLangBarMgr **pppbm
);

Parameters

pppbm

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

Return value

Value Meaning
S_OK The function was successful.
E_FAIL An unspecified error occurred.
E_INVALIDARG pppbm is invalid.

Requirements

   
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

ITfLangBarMgr

LoadLibrary