mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
fusion: Use inline wrappers for calling COM methods.
This commit is contained in:
parent
f3069333a4
commit
fba3ba9017
@ -1,5 +1,6 @@
|
||||
MODULE = fusion.dll
|
||||
IMPORTS = advapi32 dbghelp shlwapi version user32
|
||||
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
|
||||
|
||||
C_SRCS = \
|
||||
asmcache.c \
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
TESTDLL = fusion.dll
|
||||
IMPORTS = user32
|
||||
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
|
||||
|
||||
C_SRCS = \
|
||||
asmcache.c \
|
||||
|
Loading…
Reference in New Issue
Block a user