Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f9c9a2bf
Commit
f9c9a2bf
authored
Jul 13, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Jul 13, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Convert void return types to the VT_EMPTY variant type in ITypeInfo::Invoke.
parent
797bdbc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
typelib.c
dlls/oleaut32/typelib.c
+10
-3
No files found.
dlls/oleaut32/typelib.c
View file @
f9c9a2bf
...
@@ -5363,9 +5363,16 @@ static HRESULT WINAPI ITypeInfo_fnInvoke(
...
@@ -5363,9 +5363,16 @@ static HRESULT WINAPI ITypeInfo_fnInvoke(
goto
func_fail
;
/* FIXME: we don't free changed types here */
goto
func_fail
;
/* FIXME: we don't free changed types here */
}
}
V_VT
(
&
varresult
)
=
0
;
/* VT_VOID is a special case for return types, so it is not
hres
=
typedescvt_to_variantvt
((
ITypeInfo
*
)
iface
,
&
func_desc
->
elemdescFunc
.
tdesc
,
&
V_VT
(
&
varresult
));
* handled in the general function */
if
(
FAILED
(
hres
))
goto
func_fail
;
/* FIXME: we don't free changed types here */
if
(
func_desc
->
elemdescFunc
.
tdesc
.
vt
==
VT_VOID
)
V_VT
(
&
varresult
)
=
VT_EMPTY
;
else
{
V_VT
(
&
varresult
)
=
0
;
hres
=
typedescvt_to_variantvt
((
ITypeInfo
*
)
iface
,
&
func_desc
->
elemdescFunc
.
tdesc
,
&
V_VT
(
&
varresult
));
if
(
FAILED
(
hres
))
goto
func_fail
;
/* FIXME: we don't free changed types here */
}
hres
=
DispCallFunc
(
pIUnk
,
func_desc
->
oVft
,
func_desc
->
callconv
,
hres
=
DispCallFunc
(
pIUnk
,
func_desc
->
oVft
,
func_desc
->
callconv
,
V_VT
(
&
varresult
),
func_desc
->
cParams
,
rgvt
,
V_VT
(
&
varresult
),
func_desc
->
cParams
,
rgvt
,
...
...
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