From: Hans Leidekker hans@codeweavers.com
--- dlls/wbemprox/builtin.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c index 5e4c55b331c..a501948eb26 100644 --- a/dlls/wbemprox/builtin.c +++ b/dlls/wbemprox/builtin.c @@ -305,6 +305,7 @@ static const struct column col_pnpentity[] = { L"DeviceId", CIM_STRING|COL_FLAG_DYNAMIC }, { L"Manufacturer", CIM_STRING }, { L"Name", CIM_STRING|COL_FLAG_DYNAMIC }, + { L"Service", CIM_STRING|COL_FLAG_DYNAMIC }, }; static const struct column col_printer[] = { @@ -798,6 +799,7 @@ struct record_pnpentity const WCHAR *device_id; const WCHAR *manufacturer; const WCHAR *name; + const WCHAR *service; }; struct record_printer { @@ -3313,6 +3315,7 @@ static struct record_pnpentity *get_pnp_entities( UINT *count ) ret[i].device_id = wcsupr( build_pnp_device_id( class, product, instance ) ); ret[i].manufacturer = L"The Wine Project"; ret[i].name = get_reg_value( key_instance, L"DeviceDesc" ); + ret[i].service = get_reg_value( key_instance, L"Service" ); RegCloseKey( key_instance ); if (++i > nb_allocated) { @@ -3326,6 +3329,7 @@ static struct record_pnpentity *get_pnp_entities( UINT *count ) free( (void *)ret[i].class_guid ); free( (void *)ret[i].device_id ); free( (void *)ret[i].name ); + free( (void *)ret[i].service ); } goto done; }