Commit 929aadf2 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

msctf: Implement TF_GetThreadMgr.

parent f94f78ff
...@@ -210,3 +210,17 @@ HRESULT WINAPI TF_CreateThreadMgr(ITfThreadMgr **pptim) ...@@ -210,3 +210,17 @@ HRESULT WINAPI TF_CreateThreadMgr(ITfThreadMgr **pptim)
TRACE("\n"); TRACE("\n");
return ThreadMgr_Constructor(NULL,(IUnknown**)pptim); return ThreadMgr_Constructor(NULL,(IUnknown**)pptim);
} }
/***********************************************************************
* TF_GetThreadMgr (MSCTF.@)
*/
HRESULT WINAPI TF_GetThreadMgr(ITfThreadMgr **pptim)
{
TRACE("\n");
*pptim = (ITfThreadMgr*)TlsGetValue(tlsIndex);
if (*pptim)
ITfThreadMgr_AddRef(*pptim);
return S_OK;
}
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
@ stub TF_GetMlngHKL @ stub TF_GetMlngHKL
@ stub TF_GetMlngIconIndex @ stub TF_GetMlngIconIndex
@ stub TF_GetThreadFlags @ stub TF_GetThreadFlags
@ stub TF_GetThreadMgr @ stdcall TF_GetThreadMgr(ptr)
@ stub TF_InatExtractIcon @ stub TF_InatExtractIcon
@ stub TF_InitMlngInfo @ stub TF_InitMlngInfo
@ stub TF_InitSystem @ stub TF_InitSystem
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment