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
755feaca
Commit
755feaca
authored
Sep 07, 2015
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Sep 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Don't assume that SAFEARRAY is the last parameter in an varargs method.
parent
f05930f0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
tmarshal.c
dlls/oleaut32/tests/tmarshal.c
+0
-1
typelib.c
dlls/oleaut32/typelib.c
+1
-1
No files found.
dlls/oleaut32/tests/tmarshal.c
View file @
755feaca
...
...
@@ -1550,7 +1550,6 @@ static void test_typelibmarshal(void)
dispparams
.
rgdispidNamedArgs
=
NULL
;
dispparams
.
rgvarg
=
vararg
;
hr
=
IDispatch_Invoke
(
pDispatch
,
DISPID_TM_VARARG_RUN
,
&
IID_NULL
,
LOCALE_NEUTRAL
,
DISPATCH_METHOD
,
&
dispparams
,
NULL
,
NULL
,
NULL
);
todo_wine
ok_ole_success
(
hr
,
IDispatch_Invoke
);
SysFreeString
(
V_BSTR
(
&
vararg
[
1
]));
SysFreeString
(
V_BSTR
(
&
vararg
[
0
]));
...
...
dlls/oleaut32/typelib.c
View file @
755feaca
...
...
@@ -7078,7 +7078,7 @@ static HRESULT WINAPI ITypeInfo_fnInvoke(
}
V_VT
(
&
rgvarg
[
i
])
=
rgvt
[
i
];
}
else
if
(
rgvt
[
i
]
==
(
VT_VARIANT
|
VT_ARRAY
)
&&
func_desc
->
cParamsOpt
<
0
&&
i
==
func_desc
->
cParams
-
1
)
else
if
(
rgvt
[
i
]
==
(
VT_VARIANT
|
VT_ARRAY
)
&&
func_desc
->
cParamsOpt
<
0
)
{
SAFEARRAY
*
a
;
SAFEARRAYBOUND
bound
;
...
...
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