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
ca471b87
Commit
ca471b87
authored
Jun 27, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Implement Win32_OperatingSystem.CSDVersion.
parent
e7e66e59
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
builtin.c
dlls/wbemprox/builtin.c
+9
-1
No files found.
dlls/wbemprox/builtin.c
View file @
ca471b87
...
...
@@ -57,6 +57,8 @@ static const WCHAR prop_adapterramW[] =
{
'A'
,
'd'
,
'a'
,
'p'
,
't'
,
'e'
,
'r'
,
'R'
,
'A'
,
'M'
,
0
};
static
const
WCHAR
prop_captionW
[]
=
{
'C'
,
'a'
,
'p'
,
't'
,
'i'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
prop_csdversionW
[]
=
{
'C'
,
'S'
,
'D'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
prop_commandlineW
[]
=
{
'C'
,
'o'
,
'm'
,
'm'
,
'a'
,
'n'
,
'd'
,
'L'
,
'i'
,
'n'
,
'e'
,
0
};
static
const
WCHAR
prop_cpustatusW
[]
=
...
...
@@ -123,6 +125,7 @@ static const struct column col_networkadapter[] =
static
const
struct
column
col_os
[]
=
{
{
prop_captionW
,
CIM_STRING
},
{
prop_csdversionW
,
CIM_STRING
},
{
prop_osarchitectureW
,
CIM_STRING
},
{
prop_oslanguageW
,
CIM_UINT32
},
{
prop_systemdirectoryW
,
CIM_STRING
}
...
...
@@ -164,7 +167,10 @@ static const WCHAR compsys_manufacturerW[] =
static
const
WCHAR
compsys_modelW
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
0
};
static
const
WCHAR
os_captionW
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
0
};
{
'M'
,
'i'
,
'c'
,
'r'
,
'o'
,
's'
,
'o'
,
'f'
,
't'
,
' '
,
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
's'
,
' '
,
'X'
,
'P'
,
' '
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
' '
,
'='
,
' '
,
'5'
,
'.'
,
'1'
,
'.'
,
'2'
,
'6'
,
'0'
,
'0'
,
0
};
static
const
WCHAR
os_csdversionW
[]
=
{
'S'
,
'e'
,
'r'
,
'v'
,
'i'
,
'c'
,
'e'
,
' '
,
'P'
,
'a'
,
'c'
,
'k'
,
' '
,
'3'
,
0
};
static
const
WCHAR
os_32bitW
[]
=
{
'3'
,
'2'
,
'-'
,
'b'
,
'i'
,
't'
,
0
};
static
const
WCHAR
os_64bitW
[]
=
...
...
@@ -200,6 +206,7 @@ struct record_networkadapter
struct
record_operatingsystem
{
const
WCHAR
*
caption
;
const
WCHAR
*
csdversion
;
const
WCHAR
*
osarchitecture
;
UINT32
oslanguage
;
const
WCHAR
*
systemdirectory
;
...
...
@@ -397,6 +404,7 @@ static void fill_os( struct table *table )
rec
=
(
struct
record_operatingsystem
*
)
table
->
data
;
rec
->
caption
=
os_captionW
;
rec
->
csdversion
=
os_csdversionW
;
GetNativeSystemInfo
(
&
info
);
if
(
info
.
u
.
s
.
wProcessorArchitecture
==
PROCESSOR_ARCHITECTURE_AMD64
)
...
...
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