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
fb81961d
Commit
fb81961d
authored
May 02, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
May 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Implement Win32_Processor.Family.
parent
1bd0bd5f
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 @
fb81961d
...
...
@@ -123,6 +123,8 @@ static const WCHAR prop_driveW[] =
{
'D'
,
'r'
,
'i'
,
'v'
,
'e'
,
0
};
static
const
WCHAR
prop_drivetypeW
[]
=
{
'D'
,
'r'
,
'i'
,
'v'
,
'e'
,
'T'
,
'y'
,
'p'
,
'e'
,
0
};
static
const
WCHAR
prop_familyW
[]
=
{
'F'
,
'a'
,
'm'
,
'i'
,
'l'
,
'y'
,
0
};
static
const
WCHAR
prop_filesystemW
[]
=
{
'F'
,
'i'
,
'l'
,
'e'
,
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
0
};
static
const
WCHAR
prop_flavorW
[]
=
...
...
@@ -334,6 +336,7 @@ static const struct column col_processor[] =
{
{
prop_cpustatusW
,
CIM_UINT16
},
{
prop_deviceidW
,
CIM_STRING
|
COL_FLAG_DYNAMIC
|
COL_FLAG_KEY
},
{
prop_familyW
,
CIM_UINT16
,
VT_I4
},
{
prop_manufacturerW
,
CIM_STRING
|
COL_FLAG_DYNAMIC
},
{
prop_maxclockspeedW
,
CIM_UINT32
,
VT_I4
},
{
prop_nameW
,
CIM_STRING
|
COL_FLAG_DYNAMIC
},
...
...
@@ -563,6 +566,7 @@ struct record_processor
{
UINT16
cpu_status
;
const
WCHAR
*
device_id
;
UINT16
family
;
const
WCHAR
*
manufacturer
;
UINT32
maxclockspeed
;
const
WCHAR
*
name
;
...
...
@@ -1143,6 +1147,7 @@ static void fill_processor( struct table *table )
rec
->
cpu_status
=
1
;
/* CPU Enabled */
sprintfW
(
device_id
,
fmtW
,
i
);
rec
->
device_id
=
heap_strdupW
(
device_id
);
rec
->
family
=
2
;
/* Unknown */
rec
->
manufacturer
=
heap_strdupW
(
manufacturer
);
rec
->
maxclockspeed
=
maxclockspeed
;
rec
->
name
=
heap_strdupW
(
name
);
...
...
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