From: Rémi Bernon <rbernon(a)codeweavers.com> --- dlls/cfgmgr32/tests/cfgmgr32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/cfgmgr32/tests/cfgmgr32.c b/dlls/cfgmgr32/tests/cfgmgr32.c index c683995732e..95f64698733 100644 --- a/dlls/cfgmgr32/tests/cfgmgr32.c +++ b/dlls/cfgmgr32/tests/cfgmgr32.c @@ -480,7 +480,7 @@ static void test_CM_Get_Device_Interface_List(void) ok(count == count2, "got %u, expected %u.\n", count, count2); ret = CM_Get_Device_Interface_PropertyW(L"qqq", &DEVPKEY_Device_InstanceId, &type, (BYTE *)instance_id, &size, 0); - ok(ret == CR_NO_SUCH_DEVICE_INTERFACE, "got %#lx.\n", ret); + ok(ret == CR_NO_SUCH_DEVICE_INTERFACE || broken(ret == CR_INVALID_DATA) /* w7 */, "got %#lx.\n", ret); } START_TEST(cfgmgr32) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7784