Commit 9aadb992 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msimtf: Return interface pointers.

parent 271f8a70
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment