[PATCH 3/3] server: Always block overlapped device requests until driver dispatches them.
Mathew Hodson
mathew.hodson at gmail.com
Thu May 23 22:24:19 CDT 2019
On Thu, May 23, 2019 at 1:35 PM Jacek Caban <jacek at codeweavers.com> wrote:
>
> @@ -238,18 +234,13 @@ static void test_overlapped(void)
> cancel_cnt = 0xdeadbeef;
> res = DeviceIoControl(file, IOCTL_WINETEST_GET_CANCEL_COUNT, NULL, 0, &cancel_cnt, sizeof(cancel_cnt), NULL, &overlapped);
> todo_wine
> - ok(res, "DeviceIoControl failed: %u\n", GetLastError());
> - if (!res && GetLastError() == ERROR_IO_PENDING) WaitForSingleObject(overlapped.hEvent, INFINITE);
> - todo_wine
> ok(cancel_cnt == 2, "cancel_cnt = %u\n", cancel_cnt);
Don't we still want to test the return value of DeviceIoControl here?
More information about the wine-devel
mailing list