Commit 550d96b0 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wbemprox: Implement Win32_VideoController.AdapterCompatibility.

parent 78e9b02c
......@@ -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 */
......
......@@ -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 );
......
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