TF_CreateThreadMgr function (msctf.h)

The TF_CreateThreadMgr function creates a thread 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 thread manager objects be created using CoCreateInstance , as demonstrated in ITfThreadMgr.

Syntax

HRESULT TF_CreateThreadMgr(
  ITfThreadMgr **pptim
);

Parameters

pptim

Pointer to an ITfThreadMgr interface pointer that receives the thread manager object.

Return value

Value Meaning
S_OK The function was successful.
E_FAIL An unspecified error occurred.
E_INVALIDARG pptim 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

ITfThreadMgr

LoadLibrary