Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
fba3ba90
Commit
fba3ba90
authored
Jul 31, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 31, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fusion: Use inline wrappers for calling COM methods.
parent
f3069333
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
4 deletions
+6
-4
Makefile.in
dlls/fusion/Makefile.in
+1
-0
asmcache.c
dlls/fusion/asmcache.c
+2
-2
asmenum.c
dlls/fusion/asmenum.c
+1
-1
asmname.c
dlls/fusion/asmname.c
+1
-1
Makefile.in
dlls/fusion/tests/Makefile.in
+1
-0
No files found.
dlls/fusion/Makefile.in
View file @
fba3ba90
MODULE
=
fusion.dll
MODULE
=
fusion.dll
IMPORTS
=
advapi32 dbghelp shlwapi version user32
IMPORTS
=
advapi32 dbghelp shlwapi version user32
EXTRADEFS
=
-DWIDL_C_INLINE_WRAPPERS
C_SRCS
=
\
C_SRCS
=
\
asmcache.c
\
asmcache.c
\
...
...
dlls/fusion/asmcache.c
View file @
fba3ba90
...
@@ -165,7 +165,7 @@ static HRESULT WINAPI IAssemblyCacheImpl_QueryInterface(IAssemblyCache *iface,
...
@@ -165,7 +165,7 @@ static HRESULT WINAPI IAssemblyCacheImpl_QueryInterface(IAssemblyCache *iface,
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_IAssemblyCache
))
IsEqualIID
(
riid
,
&
IID_IAssemblyCache
))
{
{
I
Unknown
_AddRef
(
iface
);
I
AssemblyCache
_AddRef
(
iface
);
*
ppobj
=
This
;
*
ppobj
=
This
;
return
S_OK
;
return
S_OK
;
}
}
...
@@ -583,7 +583,7 @@ static HRESULT WINAPI IAssemblyCacheItemImpl_QueryInterface(IAssemblyCacheItem *
...
@@ -583,7 +583,7 @@ static HRESULT WINAPI IAssemblyCacheItemImpl_QueryInterface(IAssemblyCacheItem *
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_IAssemblyCacheItem
))
IsEqualIID
(
riid
,
&
IID_IAssemblyCacheItem
))
{
{
I
Unknown
_AddRef
(
iface
);
I
AssemblyCacheItem
_AddRef
(
iface
);
*
ppobj
=
This
;
*
ppobj
=
This
;
return
S_OK
;
return
S_OK
;
}
}
...
...
dlls/fusion/asmenum.c
View file @
fba3ba90
...
@@ -71,7 +71,7 @@ static HRESULT WINAPI IAssemblyEnumImpl_QueryInterface(IAssemblyEnum *iface,
...
@@ -71,7 +71,7 @@ static HRESULT WINAPI IAssemblyEnumImpl_QueryInterface(IAssemblyEnum *iface,
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_IAssemblyEnum
))
IsEqualIID
(
riid
,
&
IID_IAssemblyEnum
))
{
{
I
Unknown
_AddRef
(
iface
);
I
AssemblyEnum
_AddRef
(
iface
);
*
ppobj
=
This
;
*
ppobj
=
This
;
return
S_OK
;
return
S_OK
;
}
}
...
...
dlls/fusion/asmname.c
View file @
fba3ba90
...
@@ -84,7 +84,7 @@ static HRESULT WINAPI IAssemblyNameImpl_QueryInterface(IAssemblyName *iface,
...
@@ -84,7 +84,7 @@ static HRESULT WINAPI IAssemblyNameImpl_QueryInterface(IAssemblyName *iface,
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_IAssemblyName
))
IsEqualIID
(
riid
,
&
IID_IAssemblyName
))
{
{
I
Unknown
_AddRef
(
iface
);
I
AssemblyName
_AddRef
(
iface
);
*
ppobj
=
This
;
*
ppobj
=
This
;
return
S_OK
;
return
S_OK
;
}
}
...
...
dlls/fusion/tests/Makefile.in
View file @
fba3ba90
TESTDLL
=
fusion.dll
TESTDLL
=
fusion.dll
IMPORTS
=
user32
IMPORTS
=
user32
EXTRADEFS
=
-DWIDL_C_INLINE_WRAPPERS
C_SRCS
=
\
C_SRCS
=
\
asmcache.c
\
asmcache.c
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment