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
bd647dc0
Commit
bd647dc0
authored
Jun 22, 2015
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 22, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Implement Win32_OperatingSystem.Primary.
parent
13490899
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
builtin.c
dlls/wbemprox/builtin.c
+5
-0
No files found.
dlls/wbemprox/builtin.c
View file @
bd647dc0
...
...
@@ -271,6 +271,8 @@ static const WCHAR prop_pnpdeviceidW[] =
{
'P'
,
'N'
,
'P'
,
'D'
,
'e'
,
'v'
,
'i'
,
'c'
,
'e'
,
'I'
,
'D'
,
0
};
static
const
WCHAR
prop_pprocessidW
[]
=
{
'P'
,
'a'
,
'r'
,
'e'
,
'n'
,
't'
,
'P'
,
'r'
,
'o'
,
'c'
,
'e'
,
's'
,
's'
,
'I'
,
'D'
,
0
};
static
const
WCHAR
prop_primaryW
[]
=
{
'P'
,
'r'
,
'i'
,
'm'
,
'a'
,
'r'
,
'y'
,
0
};
static
const
WCHAR
prop_processidW
[]
=
{
'P'
,
'r'
,
'o'
,
'c'
,
'e'
,
's'
,
's'
,
'I'
,
'D'
,
0
};
static
const
WCHAR
prop_processoridW
[]
=
...
...
@@ -480,6 +482,7 @@ static const struct column col_os[] =
{
prop_oslanguageW
,
CIM_UINT32
,
VT_I4
},
{
prop_osproductsuiteW
,
CIM_UINT32
,
VT_I4
},
{
prop_ostypeW
,
CIM_UINT16
,
VT_I4
},
{
prop_primaryW
,
CIM_BOOLEAN
},
{
prop_serialnumberW
,
CIM_STRING
},
{
prop_servicepackmajorW
,
CIM_UINT16
,
VT_I4
},
{
prop_servicepackminorW
,
CIM_UINT16
,
VT_I4
},
...
...
@@ -861,6 +864,7 @@ struct record_operatingsystem
UINT32
oslanguage
;
UINT32
osproductsuite
;
UINT16
ostype
;
int
primary
;
const
WCHAR
*
serialnumber
;
UINT16
servicepackmajor
;
UINT16
servicepackminor
;
...
...
@@ -2491,6 +2495,7 @@ static enum fill_status fill_os( struct table *table, const struct expr *cond )
rec
->
oslanguage
=
GetSystemDefaultLangID
();
rec
->
osproductsuite
=
2461140
;
/* Windows XP Professional */
rec
->
ostype
=
18
;
/* WINNT */
rec
->
primary
=
-
1
;
rec
->
serialnumber
=
os_serialnumberW
;
rec
->
servicepackmajor
=
3
;
rec
->
servicepackminor
=
0
;
...
...
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