Module: wine Branch: master Commit: fe695f3ef9e60fe493269e3a6d9f8791bb9df703 URL: http://source.winehq.org/git/wine.git/?a=commit;h=fe695f3ef9e60fe493269e3a6d...
Author: Hans Leidekker hans@codeweavers.com Date: Thu Oct 4 15:38:18 2012 +0200
wbemprox: Implement Win32_NetworkAdapter.Manufacturer.
---
dlls/wbemprox/builtin.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c index 13c96b8..9beb3e2 100644 --- a/dlls/wbemprox/builtin.c +++ b/dlls/wbemprox/builtin.c @@ -252,6 +252,7 @@ static const struct column col_networkadapter[] = { prop_deviceidW, CIM_STRING|COL_FLAG_DYNAMIC|COL_FLAG_KEY }, { prop_interfaceindexW, CIM_UINT32, VT_I4 }, { prop_macaddressW, CIM_STRING|COL_FLAG_DYNAMIC }, + { prop_manufacturerW, CIM_STRING }, { prop_netconnectionstatusW, CIM_UINT16, VT_I4 }, { prop_pnpdeviceidW, CIM_STRING }, { prop_speedW, CIM_UINT64 } @@ -424,6 +425,7 @@ struct record_networkadapter const WCHAR *device_id; INT32 interface_index; const WCHAR *mac_address; + const WCHAR *manufacturer; UINT16 netconnection_status; const WCHAR *pnpdevice_id; UINT64 speed; @@ -741,6 +743,7 @@ static void fill_networkadapter( struct table *table ) rec->device_id = heap_strdupW( device_id ); rec->interface_index = aa->u.s.IfIndex; rec->mac_address = get_mac_address( aa->PhysicalAddress, aa->PhysicalAddressLength ); + rec->manufacturer = compsys_manufacturerW; rec->netconnection_status = get_connection_status( aa->OperStatus ); rec->pnpdevice_id = networkadapter_pnpdeviceidW; rec->speed = 1000000;