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
5c074732
Commit
5c074732
authored
Sep 04, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Sep 04, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Implement Win32_ComputerSystem.DomainRole.
parent
a568d08c
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 @
5c074732
...
...
@@ -97,6 +97,8 @@ static const WCHAR prop_directionW[] =
{
'D'
,
'i'
,
'r'
,
'e'
,
'c'
,
't'
,
'i'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
prop_displaynameW
[]
=
{
'D'
,
'i'
,
's'
,
'p'
,
'l'
,
'a'
,
'y'
,
'N'
,
'a'
,
'm'
,
'e'
,
0
};
static
const
WCHAR
prop_domainroleW
[]
=
{
'D'
,
'o'
,
'm'
,
'a'
,
'i'
,
'n'
,
'R'
,
'o'
,
'l'
,
'e'
,
0
};
static
const
WCHAR
prop_drivetypeW
[]
=
{
'D'
,
'r'
,
'i'
,
'v'
,
'e'
,
'T'
,
'y'
,
'p'
,
'e'
,
0
};
static
const
WCHAR
prop_filesystemW
[]
=
...
...
@@ -199,6 +201,7 @@ static const struct column col_bios[] =
static
const
struct
column
col_compsys
[]
=
{
{
prop_descriptionW
,
CIM_STRING
},
{
prop_domainroleW
,
CIM_UINT16
},
{
prop_manufacturerW
,
CIM_STRING
},
{
prop_modelW
,
CIM_STRING
},
{
prop_numlogicalprocessorsW
,
CIM_UINT32
,
VT_I4
},
...
...
@@ -339,6 +342,7 @@ struct record_bios
struct
record_computersystem
{
const
WCHAR
*
description
;
UINT16
domainrole
;
const
WCHAR
*
manufacturer
;
const
WCHAR
*
model
;
UINT32
num_logical_processors
;
...
...
@@ -488,6 +492,7 @@ static void fill_compsys( struct table *table )
rec
=
(
struct
record_computersystem
*
)
table
->
data
;
rec
->
description
=
compsys_descriptionW
;
rec
->
domainrole
=
0
;
/* standalone workstation */
rec
->
manufacturer
=
compsys_manufacturerW
;
rec
->
model
=
compsys_modelW
;
rec
->
num_logical_processors
=
get_processor_count
();
...
...
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