Wolfgang Walter wine@stwm.de wrote:
- if (commio->iosb) commio->iosb->u.Status = *commio->events ? STATUS_SUCCESS : STATUS_CANCELLED;
- if (commio->iosb) {
commio->iosb->u.Status = *commio->events ? STATUS_SUCCESS : STATUS_CANCELLED;
if (*commio->events)
commio->iosb->Information = sizeof(DWORD);
- }
Did you run 'make test' with this change? Probably some todo_wine statements need to be removed.
Also why 'Information' is set only in the case if events != 0? I'd guess that it should be set in any case since 'events' is always initialized.