msctf: Implement TF_GetThreadMgr.

This commit is contained in:
Aric Stewart 2009-02-03 14:28:41 -06:00 committed by Alexandre Julliard
parent f94f78ff03
commit 929aadf29b
2 changed files with 15 additions and 1 deletions

View File

@ -210,3 +210,17 @@ HRESULT WINAPI TF_CreateThreadMgr(ITfThreadMgr **pptim)
TRACE("\n");
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;
}

View File

@ -22,7 +22,7 @@
@ stub TF_GetMlngHKL
@ stub TF_GetMlngIconIndex
@ stub TF_GetThreadFlags
@ stub TF_GetThreadMgr
@ stdcall TF_GetThreadMgr(ptr)
@ stub TF_InatExtractIcon
@ stub TF_InitMlngInfo
@ stub TF_InitSystem