Nikolay Sivov : msimtf: Return interface pointers.
Alexandre Julliard
julliard at winehq.org
Thu Sep 1 09:55:29 CDT 2016
Module: wine
Branch: master
Commit: 9aadb9921f57b6f3cc15f12f63d3e66c3e731534
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9aadb9921f57b6f3cc15f12f63d3e66c3e731534
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Thu Sep 1 03:18:53 2016 +0300
msimtf: Return interface pointers.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msimtf/activeimmapp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msimtf/activeimmapp.c b/dlls/msimtf/activeimmapp.c
index 5749735..313cd8c 100644
--- a/dlls/msimtf/activeimmapp.c
+++ b/dlls/msimtf/activeimmapp.c
@@ -65,7 +65,7 @@ static HRESULT WINAPI ActiveIMMApp_QueryInterface (IActiveIMMApp* iface,
if (IsEqualIID(iid, &IID_IUnknown) || IsEqualIID(iid, &IID_IActiveIMMApp))
{
- *ppvOut = This;
+ *ppvOut = &This->IActiveIMMApp_iface;
}
else if (IsEqualIID(iid, &IID_IActiveIMMMessagePumpOwner))
{
@@ -906,6 +906,6 @@ DECLSPEC_HIDDEN HRESULT ActiveIMMApp_Constructor(IUnknown *pUnkOuter, IUnknown *
This->refCount = 1;
TRACE("returning %p\n",This);
- *ppOut = (IUnknown *)This;
+ *ppOut = (IUnknown *)&This->IActiveIMMApp_iface;
return S_OK;
}
More information about the wine-cvs
mailing list