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
4da0bcc2
Commit
4da0bcc2
authored
Aug 09, 2014
by
Shuai Meng
Committed by
Alexandre Julliard
Aug 08, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Implemented ScriptEngine.
parent
bdeb7613
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
global.c
dlls/vbscript/global.c
+5
-2
api.vbs
dlls/vbscript/tests/api.vbs
+3
-0
No files found.
dlls/vbscript/global.c
View file @
4da0bcc2
...
@@ -1663,8 +1663,11 @@ static HRESULT Global_LoadPicture(vbdisp_t *This, VARIANT *arg, unsigned args_cn
...
@@ -1663,8 +1663,11 @@ static HRESULT Global_LoadPicture(vbdisp_t *This, VARIANT *arg, unsigned args_cn
static
HRESULT
Global_ScriptEngine
(
vbdisp_t
*
This
,
VARIANT
*
arg
,
unsigned
args_cnt
,
VARIANT
*
res
)
static
HRESULT
Global_ScriptEngine
(
vbdisp_t
*
This
,
VARIANT
*
arg
,
unsigned
args_cnt
,
VARIANT
*
res
)
{
{
FIXME
(
"
\n
"
);
TRACE
(
"%s
\n
"
,
debugstr_variant
(
arg
));
return
E_NOTIMPL
;
assert
(
args_cnt
==
0
);
return
return_string
(
res
,
vbscriptW
);
}
}
static
HRESULT
Global_ScriptEngineMajorVersion
(
vbdisp_t
*
This
,
VARIANT
*
arg
,
unsigned
args_cnt
,
VARIANT
*
res
)
static
HRESULT
Global_ScriptEngineMajorVersion
(
vbdisp_t
*
This
,
VARIANT
*
arg
,
unsigned
args_cnt
,
VARIANT
*
res
)
...
...
dlls/vbscript/tests/api.vbs
View file @
4da0bcc2
...
@@ -984,4 +984,7 @@ End Sub
...
@@ -984,4 +984,7 @@ End Sub
Call
testAbsError
(
"strings"
,
13
,
13
)
Call
testAbsError
(
"strings"
,
13
,
13
)
Call
testAbsError
(
-
4
,
0
,
0
)
Call
testAbsError
(
-
4
,
0
,
0
)
Call
ok
(
ScriptEngine
=
"VBScript"
,
"Is scriptengine not VBScript?"
)
Call
ok
(
getVT
(
ScriptEngine
)
=
"VT_BSTR"
,
"getVT(ScriptEngine) = "
&
getVT
(
ScriptEngine
))
Call
reportSuccess
()
Call
reportSuccess
()
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