On Thu, May 23, 2019 at 1:35 PM Jacek Caban jacek@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?