Commit 21d14104 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

ntdll: Don't set io->Information in server_read_file and server_write_file.

Currently we set Information, but not Status. According to tests, depending on error type, none or both should be set. Both will be set when APC is used. Signed-off-by: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 13204d87
......@@ -579,7 +579,6 @@ static NTSTATUS server_read_file( HANDLE handle, HANDLE event, PIO_APC_ROUTINE a
status = wine_server_call( req );
wait_handle = wine_server_ptr_handle( reply->wait );
options = reply->options;
if (status != STATUS_PENDING) io->Information = wine_server_reply_size( reply );
}
SERVER_END_REQ;
......@@ -627,7 +626,6 @@ static NTSTATUS server_write_file( HANDLE handle, HANDLE event, PIO_APC_ROUTINE
status = wine_server_call( req );
wait_handle = wine_server_ptr_handle( reply->wait );
options = reply->options;
if (status != STATUS_PENDING) io->Information = reply->size;
}
SERVER_END_REQ;
......
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