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
7a768ff1
Commit
7a768ff1
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 ScriptEngineMinorVersion.
parent
9c92e96c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
global.c
dlls/vbscript/global.c
+10
-2
api.vbs
dlls/vbscript/tests/api.vbs
+2
-0
vbscript.h
dlls/vbscript/vbscript.h
+1
-0
No files found.
dlls/vbscript/global.c
View file @
7a768ff1
...
...
@@ -1686,8 +1686,16 @@ static HRESULT Global_ScriptEngineMajorVersion(vbdisp_t *This, VARIANT *arg, uns
static
HRESULT
Global_ScriptEngineMinorVersion
(
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_MINOR_VERSION
;
}
return
S_OK
;
}
static
HRESULT
Global_ScriptEngineBuildVersion
(
vbdisp_t
*
This
,
VARIANT
*
arg
,
unsigned
args_cnt
,
VARIANT
*
res
)
...
...
dlls/vbscript/tests/api.vbs
View file @
7a768ff1
...
...
@@ -991,4 +991,6 @@ Call ok(getVT(ScriptEngineBuildVersion) = "VT_I4", "getVT(ScriptEngineBuildVersi
Call
ok
(
getVT
(
ScriptEngineMajorVersion
)
=
"VT_I4"
,
"getVT(ScriptEngineMajorVersion) = "
&
getVT
(
ScriptEngineMajorVersion
))
Call
ok
(
getVT
(
ScriptEngineMinorVersion
)
=
"VT_I4"
,
"getVT(ScriptEngineMinorVersion) = "
&
getVT
(
ScriptEngineMinorVersion
))
Call
reportSuccess
()
dlls/vbscript/vbscript.h
View file @
7a768ff1
...
...
@@ -464,3 +464,4 @@ static inline LPWSTR heap_strdupW(LPCWSTR str)
#define VBSCRIPT_BUILD_VERSION 16978
#define VBSCRIPT_MAJOR_VERSION 5
#define VBSCRIPT_MINOR_VERSION 8
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