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
f61bd1c5
Commit
f61bd1c5
authored
Sep 22, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Added support for DISPATCH_METHOD flags in invoke_builtin.
parent
ed53c40e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
vbdisp.c
dlls/vbscript/vbdisp.c
+13
-5
No files found.
dlls/vbscript/vbdisp.c
View file @
f61bd1c5
...
...
@@ -139,14 +139,15 @@ static HRESULT invoke_builtin(vbdisp_t *This, const builtin_prop_t *prop, WORD f
FIXME
(
"property does not support DISPATCH_PROPERTYGET
\n
"
);
return
E_FAIL
;
}
/* FALLTHROUGH */
break
;
case
DISPATCH_PROPERTYGET
|
DISPATCH_METHOD
:
if
(
arg_cnt
(
dp
)
<
prop
->
min_args
||
arg_cnt
(
dp
)
>
(
prop
->
max_args
?
prop
->
max_args
:
prop
->
min_args
))
{
FIXME
(
"invalid number of arguments
\n
"
);
break
;
case
DISPATCH_METHOD
:
if
(
prop
->
flags
&
(
BP_GET
|
BP_GETPUT
))
{
FIXME
(
"Call on property
\n
"
);
return
E_FAIL
;
}
return
prop
->
proc
(
This
,
dp
->
rgvarg
,
dp
->
cArgs
,
res
);
break
;
case
DISPATCH_PROPERTYPUT
:
if
(
!
(
prop
->
flags
&
(
BP_GET
|
BP_GETPUT
)))
{
FIXME
(
"property does not support DISPATCH_PROPERTYPUT
\n
"
);
...
...
@@ -159,6 +160,13 @@ static HRESULT invoke_builtin(vbdisp_t *This, const builtin_prop_t *prop, WORD f
FIXME
(
"unsupported flags %x
\n
"
,
flags
);
return
E_NOTIMPL
;
}
if
(
arg_cnt
(
dp
)
<
prop
->
min_args
||
arg_cnt
(
dp
)
>
(
prop
->
max_args
?
prop
->
max_args
:
prop
->
min_args
))
{
FIXME
(
"invalid number of arguments
\n
"
);
return
E_FAIL
;
}
return
prop
->
proc
(
This
,
dp
->
rgvarg
,
dp
->
cArgs
,
res
);
}
static
BOOL
run_terminator
(
vbdisp_t
*
This
)
...
...
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