kernel32/tests: Fix ReadConsoleOutputW tests on Windows 8.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
63cbf7fb57
commit
dc80851425
|
@ -2860,8 +2860,8 @@ static void test_ReadConsoleOutput(HANDLE console)
|
||||||
coord.Y = 3;
|
coord.Y = 3;
|
||||||
set_region(®ion, 200, 7, 15, 211);
|
set_region(®ion, 200, 7, 15, 211);
|
||||||
ret = ReadConsoleOutputW(console, char_info_buf, size, coord, ®ion);
|
ret = ReadConsoleOutputW(console, char_info_buf, size, coord, ®ion);
|
||||||
ok(!ret && GetLastError() == ERROR_NOT_ENOUGH_MEMORY, "ReadConsoleOutputW returned: %x(%u)\n", ret, GetLastError());
|
ok(!ret, "ReadConsoleOutputW returned: %x(%u)\n", ret, GetLastError());
|
||||||
check_region(®ion, 200, 7, 15, 211);
|
check_region(®ion, 200, 7, -15, -211);
|
||||||
|
|
||||||
size.X = 23;
|
size.X = 23;
|
||||||
size.Y = 17;
|
size.Y = 17;
|
||||||
|
|
Loading…
Reference in New Issue