Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
1a4f5cff
Commit
1a4f5cff
authored
Nov 13, 2002
by
Alberto Massari
Committed by
Alexandre Julliard
Nov 13, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ITypeInfo::Invoke now is able to invoke a function even when it is
provided with a byref argument.
parent
2b6eafa0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
typelib.c
dlls/oleaut32/typelib.c
+8
-8
No files found.
dlls/oleaut32/typelib.c
View file @
1a4f5cff
...
...
@@ -4300,14 +4300,14 @@ static HRESULT WINAPI ITypeInfo_fnInvoke(
if
(
V_VT
(
arg
)
==
tdesc
->
vt
)
{
memcpy
(
&
args
[
argspos
],
&
V_UNION
(
arg
,
lVal
),
arglen
*
sizeof
(
DWORD
));
}
else
{
if
(
tdesc
->
vt
==
VT_VARIANT
)
{
memcpy
(
&
args
[
argspos
],
arg
,
arglen
*
sizeof
(
DWORD
));
}
else
{
ERR
(
"Set arg %d to disparg type %d vs %d
\n
"
,
i
,
V_VT
(
arg
),
tdesc
->
vt
);
}
}
else
if
(
V_ISBYREF
(
arg
)
&&
((
V_VT
(
arg
)
&
~
VT_BYREF
)
==
tdesc
->
vt
))
{
memcpy
(
&
args
[
argspos
],(
void
*
)
V_UNION
(
arg
,
lVal
),
arglen
*
sizeof
(
DWORD
));
}
else
if
(
tdesc
->
vt
==
VT_VARIANT
)
{
memcpy
(
&
args
[
argspos
],
arg
,
arglen
*
sizeof
(
DWORD
));
}
else
{
ERR
(
"Set arg %d to disparg type %d vs %d
\n
"
,
i
,
V_VT
(
arg
),
tdesc
->
vt
);
}
argspos
+=
arglen
;
}
else
{
...
...
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