gdi32/tests: Accept one more return value from EnumICMProfilesA.
This commit is contained in:
parent
8a29a4a667
commit
58cdb6405f
|
@ -184,8 +184,8 @@ static void test_EnumICMProfilesA( HDC dc )
|
|||
ok(ret == -1 || broken(ret == 0) /* nt4 */, "expected -1, got %d\n", ret);
|
||||
|
||||
ret = EnumICMProfilesA( dc, enum_profiles_callbackA, 0 );
|
||||
ok(ret == -1 || broken(ret == 0) /* nt4 */,
|
||||
"expected -1, got %d\n", ret);
|
||||
ok(ret == -1 || ret == 1 || broken(ret == 0) /* nt4 */,
|
||||
"expected -1 or 1, got %d\n", ret);
|
||||
|
||||
ret = EnumICMProfilesA( dc, NULL, 0 );
|
||||
ok(ret == -1 || broken(ret == 0) /* nt4 */, "expected -1, got %d\n", ret);
|
||||
|
@ -207,7 +207,7 @@ static void test_EnumICMProfilesW( HDC dc )
|
|||
ok(ret == -1 || broken(ret == 0) /* NT4 */, "expected -1, got %d\n", ret);
|
||||
|
||||
ret = EnumICMProfilesW( dc, enum_profiles_callbackW, 0 );
|
||||
ok(ret == -1 || ret == 1 || broken(ret == 0) /* NT4 */, "expected -1, got %d\n", ret);
|
||||
ok(ret == -1 || ret == 1 || broken(ret == 0) /* NT4 */, "expected -1 or 1, got %d\n", ret);
|
||||
}
|
||||
|
||||
static void test_SetICMProfileA( HDC dc )
|
||||
|
|
Loading…
Reference in New Issue