Commit ba4cfbd4 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

kernel32/tests: Windows 10 dropped support for SetConsoleFont().

Windows 10 1507 still supports it but not 1607+. Signed-off-by: 's avatarFrancois Gouget <fgouget@free.fr> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent bbdd1be4
......@@ -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);
......
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