Commit 2760a70a authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wbemprox: Implement Win32_VideoController.Description.

parent c60fe475
...@@ -287,6 +287,7 @@ static const struct column col_videocontroller[] = ...@@ -287,6 +287,7 @@ static const struct column col_videocontroller[] =
{ prop_currentbitsperpixelW, CIM_UINT32 }, { prop_currentbitsperpixelW, CIM_UINT32 },
{ prop_currenthorizontalresW, CIM_UINT32 }, { prop_currenthorizontalresW, CIM_UINT32 },
{ prop_currentverticalresW, CIM_UINT32 }, { prop_currentverticalresW, CIM_UINT32 },
{ prop_descriptionW, CIM_STRING|COL_FLAG_DYNAMIC },
{ prop_deviceidW, CIM_STRING|COL_FLAG_KEY }, { prop_deviceidW, CIM_STRING|COL_FLAG_KEY },
{ prop_nameW, CIM_STRING|COL_FLAG_DYNAMIC } { prop_nameW, CIM_STRING|COL_FLAG_DYNAMIC }
}; };
...@@ -428,6 +429,7 @@ struct record_videocontroller ...@@ -428,6 +429,7 @@ struct record_videocontroller
UINT32 current_bitsperpixel; UINT32 current_bitsperpixel;
UINT32 current_horizontalres; UINT32 current_horizontalres;
UINT32 current_verticalres; UINT32 current_verticalres;
const WCHAR *description;
const WCHAR *device_id; const WCHAR *device_id;
const WCHAR *name; const WCHAR *name;
}; };
...@@ -1050,6 +1052,7 @@ done: ...@@ -1050,6 +1052,7 @@ done:
rec->current_bitsperpixel = get_bits_per_pixel( &hres, &vres ); rec->current_bitsperpixel = get_bits_per_pixel( &hres, &vres );
rec->current_horizontalres = hres; rec->current_horizontalres = hres;
rec->current_verticalres = vres; rec->current_verticalres = vres;
rec->description = heap_strdupW( name );
rec->device_id = videocontroller_deviceidW; rec->device_id = videocontroller_deviceidW;
rec->name = heap_strdupW( name ); rec->name = heap_strdupW( name );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment