shlwapi: Return interface instead of implementation pointer.

This commit is contained in:
Dmitry Timoshkov 2014-02-17 14:48:31 +09:00 committed by Alexandre Julliard
parent 6f30f699cc
commit 968d464f17

View File

@ -73,8 +73,8 @@ static HRESULT WINAPI IStream_fnQueryInterface(IStream *iface, REFIID riid, LPVO
if(IsEqualIID(riid, &IID_IUnknown) ||
IsEqualIID(riid, &IID_IStream))
{
*ppvObj = This;
IStream_AddRef(iface);
*ppvObj = iface;
return S_OK;
}
return E_NOINTERFACE;