msimtf: Return interface pointers.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2016-09-01 03:18:53 +03:00 committed by Alexandre Julliard
parent 271f8a7072
commit 9aadb9921f
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}