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: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2017-02-10 16:06:19 +01:00 committed by Alexandre Julliard
parent 13204d87cf
commit 21d1410494
1 changed files with 0 additions and 2 deletions

View File

@ -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;