Commit f3069333 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

sxs: Use inline wrappers for calling COM methods.

parent 97512d70
MODULE = sxs.dll
IMPORTS = oleaut32 ole32
IMPORTLIB = sxs
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \
cache.c \
......
......@@ -69,7 +69,7 @@ static HRESULT WINAPI cache_QueryInterface(
if (IsEqualIID(riid, &IID_IUnknown) ||
IsEqualIID(riid, &IID_IAssemblyCache))
{
IUnknown_AddRef( iface );
IAssemblyCache_AddRef( iface );
*obj = cache;
return S_OK;
}
......
......@@ -68,7 +68,7 @@ static HRESULT WINAPI name_QueryInterface(
if (IsEqualIID( riid, &IID_IUnknown ) ||
IsEqualIID( riid, &IID_IAssemblyName ))
{
IUnknown_AddRef( iface );
IAssemblyName_AddRef( iface );
*obj = name;
return S_OK;
}
......
TESTDLL = sxs.dll
IMPORTS = sxs
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \
cache.c \
......
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