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
f3f0972d
Commit
f3f0972d
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: Inplemented ScriptEngineBuildVersion.
parent
4da0bcc2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
global.c
dlls/vbscript/global.c
+10
-2
api.vbs
dlls/vbscript/tests/api.vbs
+2
-0
vbscript.h
dlls/vbscript/vbscript.h
+2
-0
No files found.
dlls/vbscript/global.c
View file @
f3f0972d
...
...
@@ -1684,8 +1684,16 @@ static HRESULT Global_ScriptEngineMinorVersion(vbdisp_t *This, VARIANT *arg, uns
static
HRESULT
Global_ScriptEngineBuildVersion
(
vbdisp_t
*
This
,
VARIANT
*
arg
,
unsigned
args_cnt
,
VARIANT
*
res
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
TRACE
(
"%s
\n
"
,
debugstr_variant
(
arg
));
assert
(
args_cnt
==
0
);
if
(
res
)
{
V_VT
(
res
)
=
VT_I4
;
V_I4
(
res
)
=
VBSCRIPT_BUILD_VERSION
;
}
return
S_OK
;
}
static
HRESULT
Global_FormatNumber
(
vbdisp_t
*
This
,
VARIANT
*
arg
,
unsigned
args_cnt
,
VARIANT
*
res
)
...
...
dlls/vbscript/tests/api.vbs
View file @
f3f0972d
...
...
@@ -987,4 +987,6 @@ Call testAbsError(-4, 0, 0)
Call
ok
(
ScriptEngine
=
"VBScript"
,
"Is scriptengine not VBScript?"
)
Call
ok
(
getVT
(
ScriptEngine
)
=
"VT_BSTR"
,
"getVT(ScriptEngine) = "
&
getVT
(
ScriptEngine
))
Call
ok
(
getVT
(
ScriptEngineBuildVersion
)
=
"VT_I4"
,
"getVT(ScriptEngineBuildVersion) = "
&
getVT
(
ScriptEngineBuildVersion
))
Call
reportSuccess
()
dlls/vbscript/vbscript.h
View file @
f3f0972d
...
...
@@ -461,3 +461,5 @@ static inline LPWSTR heap_strdupW(LPCWSTR str)
return
ret
;
}
#define VBSCRIPT_BUILD_VERSION 16978
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