Commit dc5d07f5 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

fusion: Return interface pointer from QI instead of impl pointer.

parent 20e302e2
......@@ -172,7 +172,7 @@ static HRESULT WINAPI IAssemblyCacheImpl_QueryInterface(IAssemblyCache *iface,
IsEqualIID(riid, &IID_IAssemblyCache))
{
IAssemblyCache_AddRef(iface);
*ppobj = This;
*ppobj = &This->IAssemblyCache_iface;
return S_OK;
}
......@@ -601,7 +601,7 @@ static HRESULT WINAPI IAssemblyCacheItemImpl_QueryInterface(IAssemblyCacheItem *
IsEqualIID(riid, &IID_IAssemblyCacheItem))
{
IAssemblyCacheItem_AddRef(iface);
*ppobj = This;
*ppobj = &This->IAssemblyCacheItem_iface;
return S_OK;
}
......
......@@ -72,7 +72,7 @@ static HRESULT WINAPI IAssemblyEnumImpl_QueryInterface(IAssemblyEnum *iface,
IsEqualIID(riid, &IID_IAssemblyEnum))
{
IAssemblyEnum_AddRef(iface);
*ppobj = This;
*ppobj = &This->IAssemblyEnum_iface;
return S_OK;
}
......
......@@ -85,7 +85,7 @@ static HRESULT WINAPI IAssemblyNameImpl_QueryInterface(IAssemblyName *iface,
IsEqualIID(riid, &IID_IAssemblyName))
{
IAssemblyName_AddRef(iface);
*ppobj = This;
*ppobj = &This->IAssemblyName_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