kernel32/tests: Windows 10 dropped support for SetConsoleFont().
Windows 10 1507 still supports it but not 1607+. Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bbdd1be4f8
commit
ba4cfbd448
|
@ -2967,6 +2967,12 @@ static void test_SetConsoleFont(HANDLE std_output)
|
|||
SetLastError(0xdeadbeef);
|
||||
ret = pSetConsoleFont(NULL, 0);
|
||||
ok(!ret, "got %d, expected zero\n", ret);
|
||||
if (GetLastError() == LOWORD(E_NOTIMPL) /* win10 1709+ */ ||
|
||||
broken(GetLastError() == ERROR_GEN_FAILURE) /* win10 1607 */)
|
||||
{
|
||||
skip("SetConsoleFont is not implemented\n");
|
||||
return;
|
||||
}
|
||||
todo_wine ok(GetLastError() == ERROR_INVALID_HANDLE, "got %u, expected 6\n", GetLastError());
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
|
|
Loading…
Reference in New Issue