Piotr Caban (@piotr) commented about dlls/vccorlib140/tests/vccorlib.c:
hr = IPropertyValue_GetPoint(obj, &value.point);
break;
case PropertyType_Size:
hr = IPropertyValue_GetSize(obj, &value.size);
break;
case PropertyType_Rect:
hr = IPropertyValue_GetRect(obj, &value.rect);
break;
case PropertyType_Guid:
hr = IPropertyValue_GetGuid(obj, &value.guid);
break;
DEFAULT_UNREACHABLE;
}
ok(hr == S_OK, "got hr %#lx\n", hr);
ok(!memcmp(&test_cases[i].value, &value, sizeof(value)), "got unexpected value\n");
This test is failing on my machine - you will probably need to limit size of compared memory to avoid accessing possibly uninitialized data.