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
e7e66e59
Commit
e7e66e59
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_NetworkAdapter.Speed.
parent
fc6d667a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
builtin.c
dlls/wbemprox/builtin.c
+6
-1
No files found.
dlls/wbemprox/builtin.c
View file @
e7e66e59
...
...
@@ -91,6 +91,8 @@ static const WCHAR prop_releasedateW[] =
{
'R'
,
'e'
,
'l'
,
'e'
,
'a'
,
's'
,
'e'
,
'D'
,
'a'
,
't'
,
'e'
,
0
};
static
const
WCHAR
prop_serialnumberW
[]
=
{
'S'
,
'e'
,
'r'
,
'i'
,
'a'
,
'l'
,
'N'
,
'u'
,
'm'
,
'b'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
prop_speedW
[]
=
{
'S'
,
'p'
,
'e'
,
'e'
,
'd'
,
0
};
static
const
WCHAR
prop_systemdirectoryW
[]
=
{
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
'D'
,
'i'
,
'r'
,
'e'
,
'c'
,
't'
,
'o'
,
'r'
,
'y'
,
0
};
static
const
WCHAR
prop_threadcountW
[]
=
...
...
@@ -115,7 +117,8 @@ static const struct column col_networkadapter[] =
{
{
prop_deviceidW
,
CIM_STRING
|
COL_FLAG_DYNAMIC
|
COL_FLAG_KEY
},
{
prop_interfaceindexW
,
CIM_SINT32
},
{
prop_netconnectionstatusW
,
CIM_UINT16
}
{
prop_netconnectionstatusW
,
CIM_UINT16
},
{
prop_speedW
,
CIM_UINT64
}
};
static
const
struct
column
col_os
[]
=
{
...
...
@@ -192,6 +195,7 @@ struct record_networkadapter
const
WCHAR
*
device_id
;
INT32
interface_index
;
UINT16
netconnection_status
;
UINT64
speed
;
};
struct
record_operatingsystem
{
...
...
@@ -299,6 +303,7 @@ static void fill_networkadapter( struct table *table )
rec
->
device_id
=
heap_strdupW
(
device_id
);
rec
->
interface_index
=
aa
->
u
.
s
.
IfIndex
;
rec
->
netconnection_status
=
get_connection_status
(
aa
->
OperStatus
);
rec
->
speed
=
1000000
;
offset
+=
sizeof
(
*
rec
);
}
TRACE
(
"created %u rows
\n
"
,
num_rows
);
...
...
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