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
c5957eb9
Commit
c5957eb9
authored
Feb 08, 2023
by
Jason Millard
Committed by
Alexandre Julliard
Feb 09, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Add missing stubs for GetLocale and SetLocale builtins.
parent
0692d07f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
global.c
dlls/vbscript/global.c
+14
-0
No files found.
dlls/vbscript/global.c
View file @
c5957eb9
...
...
@@ -2178,6 +2178,12 @@ static HRESULT Global_Second(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt,
return
FAILED
(
hres
)
?
hres
:
return_short
(
res
,
st
.
wSecond
);
}
static
HRESULT
Global_SetLocale
(
BuiltinDisp
*
This
,
VARIANT
*
args
,
unsigned
args_cnt
,
VARIANT
*
res
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
Global_DateValue
(
BuiltinDisp
*
This
,
VARIANT
*
arg
,
unsigned
args_cnt
,
VARIANT
*
res
)
{
FIXME
(
"
\n
"
);
...
...
@@ -3048,6 +3054,12 @@ static HRESULT Global_FormatPercent(BuiltinDisp *This, VARIANT *args, unsigned a
return
return_bstr
(
res
,
str
);
}
static
HRESULT
Global_GetLocale
(
BuiltinDisp
*
This
,
VARIANT
*
args
,
unsigned
args_cnt
,
VARIANT
*
res
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
Global_FormatDateTime
(
BuiltinDisp
*
This
,
VARIANT
*
args
,
unsigned
args_cnt
,
VARIANT
*
res
)
{
int
format
=
0
;
...
...
@@ -3270,6 +3282,7 @@ static const builtin_prop_t global_props[] = {
{
L"FormatDateTime"
,
Global_FormatDateTime
,
0
,
1
,
2
},
{
L"FormatNumber"
,
Global_FormatNumber
,
0
,
1
,
5
},
{
L"FormatPercent"
,
Global_FormatPercent
,
0
,
1
,
5
},
{
L"GetLocale"
,
Global_GetLocale
,
0
,
0
},
{
L"GetObject"
,
Global_GetObject
,
0
,
0
,
2
},
{
L"GetRef"
,
Global_GetRef
,
0
,
1
},
{
L"Hex"
,
Global_Hex
,
0
,
1
},
...
...
@@ -3316,6 +3329,7 @@ static const builtin_prop_t global_props[] = {
{
L"ScriptEngineMajorVersion"
,
Global_ScriptEngineMajorVersion
,
0
,
0
},
{
L"ScriptEngineMinorVersion"
,
Global_ScriptEngineMinorVersion
,
0
,
0
},
{
L"Second"
,
Global_Second
,
0
,
1
},
{
L"SetLocale"
,
Global_SetLocale
,
0
,
0
,
1
},
{
L"Sgn"
,
Global_Sgn
,
0
,
1
},
{
L"Sin"
,
Global_Sin
,
0
,
1
},
{
L"Space"
,
Global_Space
,
0
,
1
},
...
...
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