Hans Leidekker : wbemprox: Implement Win32_VideoController.AdapterCompatibility.
Alexandre Julliard
julliard at winehq.org
Mon Apr 20 15:48:20 CDT 2020
Module: wine
Branch: master
Commit: 550d96b0bf0928ac4dc573f49d2ec2e0c0444fc5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=550d96b0bf0928ac4dc573f49d2ec2e0c0444fc5
Author: Hans Leidekker <hans at codeweavers.com>
Date: Mon Apr 20 10:38:11 2020 +0200
wbemprox: Implement Win32_VideoController.AdapterCompatibility.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48973
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wbemprox/builtin.c | 3 +++
dlls/wbemprox/tests/query.c | 1 +
2 files changed, 4 insertions(+)
diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c
index 5035ca7b98..24badb7bf9 100644
--- a/dlls/wbemprox/builtin.c
+++ b/dlls/wbemprox/builtin.c
@@ -399,6 +399,7 @@ static const struct column col_systemsecurity[] =
};
static const struct column col_videocontroller[] =
{
+ { L"AdapterCompatibility", CIM_STRING },
{ L"AdapterDACType", CIM_STRING },
{ L"AdapterRAM", CIM_UINT32 },
{ L"Availability", CIM_UINT16 },
@@ -783,6 +784,7 @@ struct record_systemenclosure
};
struct record_videocontroller
{
+ const WCHAR *adapter_compatibility;
const WCHAR *adapter_dactype;
UINT32 adapter_ram;
UINT16 availability;
@@ -3842,6 +3844,7 @@ static enum fill_status fill_videocontroller( struct table *table, const struct
done:
rec = (struct record_videocontroller *)table->data;
+ rec->adapter_compatibility = L"(Standard display types)";
rec->adapter_dactype = L"Integrated RAMDAC";
rec->adapter_ram = vidmem;
rec->availability = 3; /* Running or Full Power */
diff --git a/dlls/wbemprox/tests/query.c b/dlls/wbemprox/tests/query.c
index 77aa5ee882..a9b4910ebf 100644
--- a/dlls/wbemprox/tests/query.c
+++ b/dlls/wbemprox/tests/query.c
@@ -1282,6 +1282,7 @@ static void test_Win32_VideoController( IWbemServices *services )
hr = IEnumWbemClassObject_Next( result, 10000, 1, &obj, &count );
if (hr != S_OK) break;
+ check_property( obj, L"AdapterCompatibility", VT_BSTR, CIM_STRING );
check_property( obj, L"Availability", VT_I4, CIM_UINT16 );
check_property( obj, L"ConfigManagerErrorCode", VT_I4, CIM_UINT32 );
check_property( obj, L"DriverDate", VT_BSTR, CIM_DATETIME );
More information about the wine-cvs
mailing list