On Thu, 2012-06-28 at 21:53 +0300, John Yani wrote:
+static void fill_logicaldisk( struct table *table ) +{ + static const WCHAR caption[] = + {'C',':',0}; + static const WCHAR description[] = + {'L','o','c','a','l',' ','F','i','x','e','d',' ','D','i','s','k',0}; + static const WCHAR device_id[] = + {'C',':',0}; + struct record_logicaldisk *rec; + FIXME("returns a fake logical disks table\n"); + if (!(table->data = heap_alloc( sizeof(*rec) ))) + { + return; + } + rec = (struct record_logicaldisk *)(table->data); + rec->caption = caption; + rec->description = description; + rec->device_id = device_id; + table->num_rows = 1; + TRACE("created %u row(s)\n", table->num_rows);
That's better. Does NFS actually query the Caption and Description properties?