[PATCH v3 1/3] ntdll: Report NtReadFileScatter results asynchronously

Alexandre Julliard julliard at winehq.org
Tue Dec 5 10:43:00 CST 2017


Andrew Eikum <aeikum at codeweavers.com> writes:

> @@ -1105,7 +1105,7 @@ NTSTATUS WINAPI NtReadFileScatter( HANDLE file, HANDLE event, PIO_APC_ROUTINE ap
>  
>      if (send_completion) NTDLL_AddCompletion( file, cvalue, status, total );
>  
> -    return status;
> +    return STATUS_PENDING;

Is it really correct to do this for error cases too?  In particular,
returning STATUS_PENDING for the non-overlapped case doesn't seem right.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list