Commit 6746209d authored by Alexandre Julliard's avatar Alexandre Julliard

kernel32: Don't use the reserved argument of the APC routine callback.

parent 589ce2bb
...@@ -345,11 +345,11 @@ static void FILE_InitProcessDosHandles( void ) ...@@ -345,11 +345,11 @@ static void FILE_InitProcessDosHandles( void )
/****************************************************************** /******************************************************************
* FILE_ReadWriteApc (internal) * 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; 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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment