Aric Stewart : msctf: Implement ITfThreadMgr::IsThreadFocus.
Alexandre Julliard
julliard at winehq.org
Wed Jun 17 10:43:23 CDT 2009
Module: wine
Branch: master
Commit: 2e52edf38d19034796c1040f3b5a07f972cb051b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2e52edf38d19034796c1040f3b5a07f972cb051b
Author: Aric Stewart <aric at codeweavers.com>
Date: Wed Jun 17 16:59:35 2009 +0900
msctf: Implement ITfThreadMgr::IsThreadFocus.
---
dlls/msctf/threadmgr.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/msctf/threadmgr.c b/dlls/msctf/threadmgr.c
index 6d31198..b109107 100644
--- a/dlls/msctf/threadmgr.c
+++ b/dlls/msctf/threadmgr.c
@@ -365,9 +365,12 @@ ITfDocumentMgr *pdimNew, ITfDocumentMgr **ppdimPrev)
static HRESULT WINAPI ThreadMgr_IsThreadFocus( ITfThreadMgr* iface, BOOL *pfThreadFocus)
{
+ HWND focus;
ThreadMgr *This = (ThreadMgr *)iface;
- FIXME("STUB:(%p)\n",This);
- return E_NOTIMPL;
+ TRACE("(%p) %p\n",This,pfThreadFocus);
+ focus = GetFocus();
+ *pfThreadFocus = (focus == NULL);
+ return S_OK;
}
static HRESULT WINAPI ThreadMgr_GetFunctionProvider( ITfThreadMgr* iface, REFCLSID clsid,
More information about the wine-cvs
mailing list