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

This commit is contained in:
Nikolay Sivov 2015-03-20 11:25:29 +03:00 committed by Alexandre Julliard
parent 20e302e203
commit dc5d07f51b
3 changed files with 4 additions and 4 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}