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
cac0620f
Commit
cac0620f
authored
Oct 19, 2010
by
Piotr Caban
Committed by
Alexandre Julliard
Oct 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Added DISPATCH_PROPERTYGET flag to some calls.
parent
29a5d9b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
dispex.c
dlls/jscript/dispex.c
+5
-1
No files found.
dlls/jscript/dispex.c
View file @
cac0620f
...
@@ -263,7 +263,7 @@ static HRESULT invoke_prop_func(jsdisp_t *This, jsdisp_t *jsthis, dispex_prop_t
...
@@ -263,7 +263,7 @@ static HRESULT invoke_prop_func(jsdisp_t *This, jsdisp_t *jsthis, dispex_prop_t
case
PROP_BUILTIN
:
{
case
PROP_BUILTIN
:
{
vdisp_t
vthis
;
vdisp_t
vthis
;
if
(
flags
==
DISPATCH_CONSTRUCT
&&
(
prop
->
flags
&
DISPATCH
_METHOD
))
{
if
(
flags
==
DISPATCH_CONSTRUCT
&&
(
prop
->
flags
&
PROPF
_METHOD
))
{
WARN
(
"%s is not a constructor
\n
"
,
debugstr_w
(
prop
->
name
));
WARN
(
"%s is not a constructor
\n
"
,
debugstr_w
(
prop
->
name
));
return
E_INVALIDARG
;
return
E_INVALIDARG
;
}
}
...
@@ -576,6 +576,8 @@ static HRESULT WINAPI DispatchEx_InvokeEx(IDispatchEx *iface, DISPID id, LCID lc
...
@@ -576,6 +576,8 @@ static HRESULT WINAPI DispatchEx_InvokeEx(IDispatchEx *iface, DISPID id, LCID lc
memset
(
&
jsexcept
,
0
,
sizeof
(
jsexcept
));
memset
(
&
jsexcept
,
0
,
sizeof
(
jsexcept
));
switch
(
wFlags
)
{
switch
(
wFlags
)
{
case
DISPATCH_METHOD
|
DISPATCH_PROPERTYGET
:
wFlags
=
DISPATCH_METHOD
;
case
DISPATCH_METHOD
:
case
DISPATCH_METHOD
:
case
DISPATCH_CONSTRUCT
:
case
DISPATCH_CONSTRUCT
:
hres
=
invoke_prop_func
(
This
,
This
,
prop
,
wFlags
,
pdp
,
pvarRes
,
&
jsexcept
,
pspCaller
);
hres
=
invoke_prop_func
(
This
,
This
,
prop
,
wFlags
,
pdp
,
pvarRes
,
&
jsexcept
,
pspCaller
);
...
@@ -940,6 +942,8 @@ HRESULT disp_call(script_ctx_t *ctx, IDispatch *disp, DISPID id, WORD flags, DIS
...
@@ -940,6 +942,8 @@ HRESULT disp_call(script_ctx_t *ctx, IDispatch *disp, DISPID id, WORD flags, DIS
}
}
memset
(
ei
,
0
,
sizeof
(
*
ei
));
memset
(
ei
,
0
,
sizeof
(
*
ei
));
if
(
retv
&&
arg_cnt
(
dp
))
flags
|=
DISPATCH_PROPERTYGET
;
if
(
retv
)
if
(
retv
)
V_VT
(
retv
)
=
VT_EMPTY
;
V_VT
(
retv
)
=
VT_EMPTY
;
...
...
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