Francois Gouget : kernel32/tests: Windows 10 dropped support for SetConsoleFont().
Alexandre Julliard
julliard at winehq.org
Thu Nov 14 15:51:27 CST 2019
Module: wine
Branch: master
Commit: ba4cfbd4489a45dc685b06fd72fdfbd3db13f11d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=ba4cfbd4489a45dc685b06fd72fdfbd3db13f11d
Author: Francois Gouget <fgouget at free.fr>
Date: Thu Nov 14 00:29:46 2019 +0100
kernel32/tests: Windows 10 dropped support for SetConsoleFont().
Windows 10 1507 still supports it but not 1607+.
Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernel32/tests/console.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dlls/kernel32/tests/console.c b/dlls/kernel32/tests/console.c
index a22051deaf..171b2dad4d 100644
--- a/dlls/kernel32/tests/console.c
+++ b/dlls/kernel32/tests/console.c
@@ -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);
More information about the wine-cvs
mailing list