From dca427fded76dfc7c95c49df1a36ccb96e5d81bb Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Fri, 12 Oct 2012 14:24:54 +0200 Subject: [PATCH] wbemprox: Implement Win32_LogicalDisk.Name. --- dlls/wbemprox/builtin.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c index 5be3b2cd429..063c16dd650 100644 --- a/dlls/wbemprox/builtin.c +++ b/dlls/wbemprox/builtin.c @@ -247,6 +247,7 @@ static const struct column col_logicaldisk[] = { prop_drivetypeW, CIM_UINT32, VT_I4 }, { prop_filesystemW, CIM_STRING|COL_FLAG_DYNAMIC }, { prop_freespaceW, CIM_UINT64 }, + { prop_nameW, CIM_STRING|COL_FLAG_DYNAMIC }, { prop_sizeW, CIM_UINT64 } }; static const struct column col_networkadapter[] = @@ -421,6 +422,7 @@ struct record_logicaldisk UINT32 drivetype; const WCHAR *filesystem; UINT64 freespace; + const WCHAR *name; UINT64 size; }; struct record_networkadapter @@ -681,6 +683,7 @@ static void fill_logicaldisk( struct table *table ) rec->drivetype = type; rec->filesystem = get_filesystem( root ); rec->freespace = get_freespace( root, &size ); + rec->name = heap_strdupW( device_id ); rec->size = size; offset += sizeof(*rec); num_rows++; -- 2.11.4.GIT