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
a1d8886f
Commit
a1d8886f
authored
Jan 10, 2014
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Implement Win32_OperatingSystem.Name.
parent
92ed7c50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
builtin.c
dlls/wbemprox/builtin.c
+8
-0
No files found.
dlls/wbemprox/builtin.c
View file @
a1d8886f
...
...
@@ -364,6 +364,7 @@ static const struct column col_os[] =
{
prop_lastbootuptimeW
,
CIM_DATETIME
|
COL_FLAG_DYNAMIC
},
{
prop_localdatetimeW
,
CIM_DATETIME
|
COL_FLAG_DYNAMIC
},
{
prop_localeW
,
CIM_STRING
|
COL_FLAG_DYNAMIC
},
{
prop_nameW
,
CIM_STRING
},
{
prop_osarchitectureW
,
CIM_STRING
},
{
prop_oslanguageW
,
CIM_UINT32
,
VT_I4
},
{
prop_osproductsuiteW
,
CIM_UINT32
,
VT_I4
},
...
...
@@ -520,6 +521,11 @@ static const WCHAR os_32bitW[] =
{
'3'
,
'2'
,
'-'
,
'b'
,
'i'
,
't'
,
0
};
static
const
WCHAR
os_64bitW
[]
=
{
'6'
,
'4'
,
'-'
,
'b'
,
'i'
,
't'
,
0
};
static
const
WCHAR
os_nameW
[]
=
{
'M'
,
'i'
,
'c'
,
'r'
,
'o'
,
's'
,
'o'
,
'f'
,
't'
,
' '
,
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
's'
,
' '
,
'X'
,
'P'
,
' '
,
'P'
,
'r'
,
'o'
,
'f'
,
'e'
,
's'
,
's'
,
'i'
,
'o'
,
'n'
,
'a'
,
'l'
,
'|'
,
'C'
,
':'
,
'\\'
,
'W'
,
'I'
,
'N'
,
'D'
,
'O'
,
'W'
,
'S'
,
'|'
,
'\\'
,
'D'
,
'e'
,
'v'
,
'i'
,
'c'
,
'e'
,
'\\'
,
'H'
,
'a'
,
'r'
,
'd'
,
'd'
,
'i'
,
's'
,
'k'
,
'0'
,
'\\'
,
'P'
,
'a'
,
'r'
,
't'
,
'i'
,
't'
,
'i'
,
'o'
,
'n'
,
'1'
,
0
};
static
const
WCHAR
os_versionW
[]
=
{
'5'
,
'.'
,
'1'
,
'.'
,
'2'
,
'6'
,
'0'
,
'0'
,
0
};
static
const
WCHAR
sounddevice_productnameW
[]
=
...
...
@@ -633,6 +639,7 @@ struct record_operatingsystem
const
WCHAR
*
lastbootuptime
;
const
WCHAR
*
localdatetime
;
const
WCHAR
*
locale
;
const
WCHAR
*
name
;
const
WCHAR
*
osarchitecture
;
UINT32
oslanguage
;
UINT32
osproductsuite
;
...
...
@@ -1943,6 +1950,7 @@ static enum fill_status fill_os( struct table *table, const struct expr *cond )
rec
->
lastbootuptime
=
get_lastbootuptime
();
rec
->
localdatetime
=
get_localdatetime
();
rec
->
locale
=
get_locale
();
rec
->
name
=
os_nameW
;
rec
->
osarchitecture
=
get_osarchitecture
();
rec
->
oslanguage
=
GetSystemDefaultLangID
();
rec
->
osproductsuite
=
2461140
;
/* Windows XP Professional */
...
...
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