kernel32: Don't use the reserved argument of the APC routine callback.
This commit is contained in:
parent
589ce2bb8d
commit
6746209d4e
@ -345,11 +345,11 @@ static void FILE_InitProcessDosHandles( void )
|
||||
/******************************************************************
|
||||
* FILE_ReadWriteApc (internal)
|
||||
*/
|
||||
static void WINAPI FILE_ReadWriteApc(void* apc_user, PIO_STATUS_BLOCK io_status, ULONG len)
|
||||
static void WINAPI FILE_ReadWriteApc(void* apc_user, PIO_STATUS_BLOCK io_status, ULONG reserved)
|
||||
{
|
||||
LPOVERLAPPED_COMPLETION_ROUTINE cr = (LPOVERLAPPED_COMPLETION_ROUTINE)apc_user;
|
||||
|
||||
cr(RtlNtStatusToDosError(io_status->u.Status), len, (LPOVERLAPPED)io_status);
|
||||
cr(RtlNtStatusToDosError(io_status->u.Status), io_status->Information, (LPOVERLAPPED)io_status);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user