Commit 1cfad7f0 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

kernel32/tests: Skip some tests on win98.

parent 5156219a
......@@ -618,7 +618,14 @@ static void testScreenBuffer(HANDLE hConOut)
/* In the beginning set output codepage to 866 */
oldcp = GetConsoleOutputCP();
ok(SetConsoleOutputCP(866), "Cannot set output codepage to 866\n");
SetLastError(0xdeadbeef);
ret = SetConsoleOutputCP(866);
if (!ret && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
{
skip("SetConsoleOutputCP is not implemented\n");
return;
}
ok(ret, "Cannot set output codepage to 866\n");
hConOutRW = CreateConsoleScreenBuffer(GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE, NULL,
......
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