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
61ded412
Commit
61ded412
authored
Jul 13, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added support for calling functions returned by builtin getters.
parent
01af42a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
2 deletions
+20
-2
dispex.c
dlls/mshtml/dispex.c
+20
-2
No files found.
dlls/mshtml/dispex.c
View file @
61ded412
...
...
@@ -849,7 +849,7 @@ static HRESULT builtin_propget(DispatchEx *This, func_info_t *func, DISPPARAMS *
IUnknown
*
iface
;
HRESULT
hres
;
if
(
dp
->
cArgs
)
{
if
(
dp
&&
dp
->
cArgs
)
{
FIXME
(
"cArgs %d
\n
"
,
dp
->
cArgs
);
return
E_NOTIMPL
;
}
...
...
@@ -961,7 +961,25 @@ static HRESULT invoke_builtin_prop(DispatchEx *This, DISPID id, LCID lcid, WORD
hres
=
builtin_propget
(
This
,
func
,
dp
,
res
);
break
;
default:
hres
=
typeinfo_invoke
(
This
,
func
,
flags
,
dp
,
res
,
ei
);
if
(
!
func
->
get_vtbl_off
)
{
hres
=
typeinfo_invoke
(
This
,
func
,
flags
,
dp
,
res
,
ei
);
}
else
{
VARIANT
v
;
hres
=
builtin_propget
(
This
,
func
,
NULL
,
&
v
);
if
(
FAILED
(
hres
))
return
hres
;
if
(
V_VT
(
&
v
)
!=
VT_DISPATCH
)
{
FIXME
(
"Not a function %s
\n
"
,
debugstr_variant
(
&
v
));
VariantClear
(
&
v
);
return
E_FAIL
;
}
hres
=
invoke_disp_value
(
This
,
V_DISPATCH
(
&
v
),
lcid
,
flags
,
dp
,
res
,
ei
,
caller
);
IDispatch_Release
(
V_DISPATCH
(
&
v
));
}
}
return
hres
;
...
...
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