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:
parent
271f8a7072
commit
9aadb9921f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue