Jinoh Kang (@iamahuman) commented about dlls/ntdll/tests/pipe.c:
- HANDLE client;
- IO_STATUS_BLOCK iosb;
- struct synchronousio_thread_args ctx;
- /* bogus values */
- res = pNtCancelSynchronousIoFile((HANDLE)0xdeadbeef, NULL, &iosb);
- todo_wine
- ok(res == STATUS_INVALID_HANDLE, "NtCancelSynchronousIoFile returned %lx\n", res);
- res = pNtCancelSynchronousIoFile(GetCurrentThread(), NULL, NULL);
- todo_wine
- ok(res == STATUS_ACCESS_VIOLATION, "NtCancelSynchronousIoFile returned %lx\n", res);
- res = pNtCancelSynchronousIoFile(GetCurrentThread(), NULL, (IO_STATUS_BLOCK*)0xdeadbeef);
- todo_wine
- ok(res == STATUS_ACCESS_VIOLATION, "NtCancelSynchronousIoFile returned %lx\n", res);
- memset(&iosb, 0x55, sizeof(iosb));
- res = pNtCancelSynchronousIoFile(GetCurrentThread(), (HANDLE)0xdeadbeef, &iosb);
```suggestion:-0+0 res = pNtCancelSynchronousIoFile(GetCurrentThread(), (IO_STATUS_BLOCK*)0xdeadbeef, &iosb); ```