Hans Leidekker : wbemprox: Implement Win32_VideoController.Description.
Alexandre Julliard
julliard at winehq.org
Mon Sep 17 14:06:33 CDT 2012
Module: wine
Branch: master
Commit: 2760a70aeecb79551931b49ba5512f068fbd8919
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2760a70aeecb79551931b49ba5512f068fbd8919
Author: Hans Leidekker <hans at codeweavers.com>
Date: Mon Sep 17 12:19:30 2012 +0200
wbemprox: Implement Win32_VideoController.Description.
---
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 41a31f3..5434fc5 100644
--- a/dlls/wbemprox/builtin.c
+++ b/dlls/wbemprox/builtin.c
@@ -287,6 +287,7 @@ static const struct column col_videocontroller[] =
{ prop_currentbitsperpixelW, CIM_UINT32 },
{ prop_currenthorizontalresW, CIM_UINT32 },
{ prop_currentverticalresW, CIM_UINT32 },
+ { prop_descriptionW, CIM_STRING|COL_FLAG_DYNAMIC },
{ prop_deviceidW, CIM_STRING|COL_FLAG_KEY },
{ prop_nameW, CIM_STRING|COL_FLAG_DYNAMIC }
};
@@ -428,6 +429,7 @@ struct record_videocontroller
UINT32 current_bitsperpixel;
UINT32 current_horizontalres;
UINT32 current_verticalres;
+ const WCHAR *description;
const WCHAR *device_id;
const WCHAR *name;
};
@@ -1050,6 +1052,7 @@ done:
rec->current_bitsperpixel = get_bits_per_pixel( &hres, &vres );
rec->current_horizontalres = hres;
rec->current_verticalres = vres;
+ rec->description = heap_strdupW( name );
rec->device_id = videocontroller_deviceidW;
rec->name = heap_strdupW( name );
More information about the wine-cvs
mailing list