kernel32/tests: Skip some tests on win98.

oldstable
Paul Vriens 2008-05-02 13:28:10 +02:00 committed by Alexandre Julliard
parent 5156219a1c
commit 1cfad7f07f
1 changed files with 8 additions and 1 deletions

View File

@ -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,