mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 13:10:28 +00:00
shlwapi: Return interface instead of implementation pointer.
This commit is contained in:
parent
6f30f699cc
commit
968d464f17
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user