Commit 1e32ae8b authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wbemprox: Fix the variant type for Win32_SystemEnclosure.ChassisTypes.

parent 5d96ef42
......@@ -629,7 +629,7 @@ static const struct column col_stdregprov[] =
static const struct column col_systemenclosure[] =
{
{ prop_captionW, CIM_STRING },
{ prop_chassistypesW, CIM_UINT16|CIM_FLAG_ARRAY },
{ prop_chassistypesW, CIM_UINT16|CIM_FLAG_ARRAY, VT_I4|VT_ARRAY },
{ prop_descriptionW, CIM_STRING },
{ prop_lockpresentW, CIM_BOOLEAN },
{ prop_manufacturerW, CIM_STRING },
......
......@@ -590,7 +590,6 @@ static void test_Win32_SystemEnclosure( IWbemServices *services )
VariantInit( &val );
hr = IWbemClassObject_Get( obj, chassistypesW, 0, &val, &type, NULL );
ok( hr == S_OK, "failed to get chassis types %08x\n", hr );
todo_wine
ok( V_VT( &val ) == (VT_I4|VT_ARRAY), "unexpected variant type 0x%x\n", V_VT( &val ) );
ok( type == (CIM_UINT16|CIM_FLAG_ARRAY), "unexpected type 0x%x\n", type );
hr = SafeArrayAccessData( V_ARRAY( &val ), (void **)&data );
......
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