[2/13]msctf: implement SetFocus and GetFocus

Jacek Caban jacek at codeweavers.com
Fri Jan 30 14:32:35 CST 2009


Hi Aric,

Aric Stewart wrote:
> ---
>  dlls/msctf/threadmgr.c |   28 ++++++++++++++++++++++++----
>  1 files changed, 24 insertions(+), 4 deletions(-)
>

+    if (!pdimFocus || FAILED(IUnknown_QueryInterface(pdimFocus,&IID_ITfDocumentMgr,(LPVOID*) &check)))
+        return E_INVALIDARG;
+
+    This->focus = check;


Shouldn't This->focus be released if it's already set?


Jacek





More information about the wine-devel mailing list