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
9982b168
Commit
9982b168
authored
Dec 23, 2015
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 23, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Implement Win32_NetworkAdapterConfiguration.Description.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
df42519c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
builtin.c
dlls/wbemprox/builtin.c
+3
-0
No files found.
dlls/wbemprox/builtin.c
View file @
9982b168
...
...
@@ -471,6 +471,7 @@ static const struct column col_networkadapter[] =
};
static
const
struct
column
col_networkadapterconfig
[]
=
{
{
prop_descriptionW
,
CIM_STRING
|
COL_FLAG_DYNAMIC
},
{
prop_dnshostnameW
,
CIM_STRING
|
COL_FLAG_DYNAMIC
},
{
prop_indexW
,
CIM_UINT32
|
COL_FLAG_KEY
,
VT_I4
},
{
prop_ipconnectionmetricW
,
CIM_UINT32
,
VT_I4
},
...
...
@@ -861,6 +862,7 @@ struct record_networkadapter
};
struct
record_networkadapterconfig
{
const
WCHAR
*
description
;
const
WCHAR
*
dnshostname
;
UINT32
index
;
UINT32
ipconnectionmetric
;
...
...
@@ -2142,6 +2144,7 @@ static enum fill_status fill_networkadapterconfig( struct table *table, const st
if
(
aa
->
IfType
==
IF_TYPE_SOFTWARE_LOOPBACK
)
continue
;
rec
=
(
struct
record_networkadapterconfig
*
)(
table
->
data
+
offset
);
rec
->
description
=
heap_strdupW
(
aa
->
Description
);
rec
->
dnshostname
=
get_dnshostname
(
aa
->
FirstUnicastAddress
);
rec
->
index
=
aa
->
u
.
s
.
IfIndex
;
rec
->
ipconnectionmetric
=
20
;
...
...
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