mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 04:48:36 +00:00
ntdll: Use file_complete_async() in cdrom_DeviceIoControl().
Thereby also handling completion and APCs.
This commit is contained in:
parent
d140164d76
commit
c133f14fe6
|
@ -3113,10 +3113,6 @@ NTSTATUS cdrom_DeviceIoControl( HANDLE device, HANDLE event, PIO_APC_ROUTINE apc
|
|||
}
|
||||
if (needs_close) close( fd );
|
||||
if (!NT_ERROR(status))
|
||||
{
|
||||
io->Status = status;
|
||||
io->Information = sz;
|
||||
if (event) NtSetEvent(event, NULL);
|
||||
}
|
||||
file_complete_async( device, event, apc, apc_user, io, status, sz );
|
||||
return status;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue