fusion: Use inline wrappers for calling COM methods.

This commit is contained in:
Hans Leidekker 2012-07-31 12:25:21 +02:00 committed by Alexandre Julliard
parent f3069333a4
commit fba3ba9017
5 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,6 @@
MODULE = fusion.dll
IMPORTS = advapi32 dbghelp shlwapi version user32
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \
asmcache.c \

View File

@ -165,7 +165,7 @@ static HRESULT WINAPI IAssemblyCacheImpl_QueryInterface(IAssemblyCache *iface,
if (IsEqualIID(riid, &IID_IUnknown) ||
IsEqualIID(riid, &IID_IAssemblyCache))
{
IUnknown_AddRef(iface);
IAssemblyCache_AddRef(iface);
*ppobj = This;
return S_OK;
}
@ -583,7 +583,7 @@ static HRESULT WINAPI IAssemblyCacheItemImpl_QueryInterface(IAssemblyCacheItem *
if (IsEqualIID(riid, &IID_IUnknown) ||
IsEqualIID(riid, &IID_IAssemblyCacheItem))
{
IUnknown_AddRef(iface);
IAssemblyCacheItem_AddRef(iface);
*ppobj = This;
return S_OK;
}

View File

@ -71,7 +71,7 @@ static HRESULT WINAPI IAssemblyEnumImpl_QueryInterface(IAssemblyEnum *iface,
if (IsEqualIID(riid, &IID_IUnknown) ||
IsEqualIID(riid, &IID_IAssemblyEnum))
{
IUnknown_AddRef(iface);
IAssemblyEnum_AddRef(iface);
*ppobj = This;
return S_OK;
}

View File

@ -84,7 +84,7 @@ static HRESULT WINAPI IAssemblyNameImpl_QueryInterface(IAssemblyName *iface,
if (IsEqualIID(riid, &IID_IUnknown) ||
IsEqualIID(riid, &IID_IAssemblyName))
{
IUnknown_AddRef(iface);
IAssemblyName_AddRef(iface);
*ppobj = This;
return S_OK;
}

View File

@ -1,5 +1,6 @@
TESTDLL = fusion.dll
IMPORTS = user32
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \
asmcache.c \