Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
62a21545
Commit
62a21545
authored
Sep 09, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Added interp_icall implementation.
parent
114ffc87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
10 deletions
+22
-10
interp.c
dlls/vbscript/interp.c
+22
-10
No files found.
dlls/vbscript/interp.c
View file @
62a21545
...
@@ -168,13 +168,7 @@ static void vbstack_to_dp(exec_ctx_t *ctx, unsigned arg_cnt, DISPPARAMS *dp)
...
@@ -168,13 +168,7 @@ static void vbstack_to_dp(exec_ctx_t *ctx, unsigned arg_cnt, DISPPARAMS *dp)
}
}
}
}
static
HRESULT
interp_icall
(
exec_ctx_t
*
ctx
)
static
HRESULT
do_icall
(
exec_ctx_t
*
ctx
,
VARIANT
*
res
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
interp_icallv
(
exec_ctx_t
*
ctx
)
{
{
BSTR
identifier
=
ctx
->
instr
->
arg1
.
bstr
;
BSTR
identifier
=
ctx
->
instr
->
arg1
.
bstr
;
const
unsigned
arg_cnt
=
ctx
->
instr
->
arg2
.
uint
;
const
unsigned
arg_cnt
=
ctx
->
instr
->
arg2
.
uint
;
...
@@ -182,8 +176,6 @@ static HRESULT interp_icallv(exec_ctx_t *ctx)
...
@@ -182,8 +176,6 @@ static HRESULT interp_icallv(exec_ctx_t *ctx)
DISPPARAMS
dp
;
DISPPARAMS
dp
;
HRESULT
hres
;
HRESULT
hres
;
TRACE
(
"
\n
"
);
hres
=
lookup_identifier
(
ctx
,
identifier
,
&
ref
);
hres
=
lookup_identifier
(
ctx
,
identifier
,
&
ref
);
if
(
FAILED
(
hres
))
if
(
FAILED
(
hres
))
return
hres
;
return
hres
;
...
@@ -192,7 +184,7 @@ static HRESULT interp_icallv(exec_ctx_t *ctx)
...
@@ -192,7 +184,7 @@ static HRESULT interp_icallv(exec_ctx_t *ctx)
switch
(
ref
.
type
)
{
switch
(
ref
.
type
)
{
case
REF_DISP
:
case
REF_DISP
:
hres
=
disp_call
(
ctx
->
script
,
ref
.
u
.
d
.
disp
,
ref
.
u
.
d
.
id
,
&
dp
,
NULL
);
hres
=
disp_call
(
ctx
->
script
,
ref
.
u
.
d
.
disp
,
ref
.
u
.
d
.
id
,
&
dp
,
res
);
if
(
FAILED
(
hres
))
if
(
FAILED
(
hres
))
return
hres
;
return
hres
;
break
;
break
;
...
@@ -205,6 +197,26 @@ static HRESULT interp_icallv(exec_ctx_t *ctx)
...
@@ -205,6 +197,26 @@ static HRESULT interp_icallv(exec_ctx_t *ctx)
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
interp_icall
(
exec_ctx_t
*
ctx
)
{
VARIANT
v
;
HRESULT
hres
;
TRACE
(
"
\n
"
);
hres
=
do_icall
(
ctx
,
&
v
);
if
(
FAILED
(
hres
))
return
hres
;
return
stack_push
(
ctx
,
&
v
);
}
static
HRESULT
interp_icallv
(
exec_ctx_t
*
ctx
)
{
TRACE
(
"
\n
"
);
return
do_icall
(
ctx
,
NULL
);
}
static
HRESULT
interp_ret
(
exec_ctx_t
*
ctx
)
static
HRESULT
interp_ret
(
exec_ctx_t
*
ctx
)
{
{
TRACE
(
"
\n
"
);
TRACE
(
"
\n
"
);
...
...
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