mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 06:50:30 +00:00
fusion: Return interface pointer from QI instead of impl pointer.
This commit is contained in:
parent
20e302e203
commit
dc5d07f51b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue