server: Removed no longed needed APC from APC_ASYNC_IO reply.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2017-04-10 13:21:49 +02:00 committed by Alexandre Julliard
parent 5c0e2965bc
commit fbf241034c
4 changed files with 1 additions and 11 deletions

View File

@ -410,11 +410,7 @@ static BOOL invoke_apc( const apc_call_t *call, apc_result_t *result )
result->type = call->type; result->type = call->type;
result->async_io.status = (*user)( user, iosb, call->async_io.status, &apc, &arg ); result->async_io.status = (*user)( user, iosb, call->async_io.status, &apc, &arg );
if (result->async_io.status != STATUS_PENDING) if (result->async_io.status != STATUS_PENDING)
{
result->async_io.total = iosb->Information; result->async_io.total = iosb->Information;
result->async_io.apc = wine_server_client_ptr( apc );
result->async_io.arg = wine_server_client_ptr( arg );
}
break; break;
} }
case APC_VIRTUAL_ALLOC: case APC_VIRTUAL_ALLOC:

View File

@ -551,8 +551,6 @@ typedef union
{ {
enum apc_type type; enum apc_type type;
unsigned int status; unsigned int status;
client_ptr_t apc;
client_ptr_t arg;
unsigned int total; unsigned int total;
} async_io; } async_io;
struct struct
@ -6411,6 +6409,6 @@ union generic_reply
struct terminate_job_reply terminate_job_reply; struct terminate_job_reply terminate_job_reply;
}; };
#define SERVER_PROTOCOL_VERSION 525 #define SERVER_PROTOCOL_VERSION 526
#endif /* __WINE_WINE_SERVER_PROTOCOL_H */ #endif /* __WINE_WINE_SERVER_PROTOCOL_H */

View File

@ -567,8 +567,6 @@ typedef union
{ {
enum apc_type type; /* APC_ASYNC_IO */ enum apc_type type; /* APC_ASYNC_IO */
unsigned int status; /* new status of async operation */ unsigned int status; /* new status of async operation */
client_ptr_t apc; /* user APC to call */
client_ptr_t arg; /* user APC argument */
unsigned int total; /* bytes transferred */ unsigned int total; /* bytes transferred */
} async_io; } async_io;
struct struct

View File

@ -229,8 +229,6 @@ static void dump_apc_result( const char *prefix, const apc_result_t *result )
case APC_ASYNC_IO: case APC_ASYNC_IO:
fprintf( stderr, "APC_ASYNC_IO,status=%s,total=%u", fprintf( stderr, "APC_ASYNC_IO,status=%s,total=%u",
get_status_name( result->async_io.status ), result->async_io.total ); get_status_name( result->async_io.status ), result->async_io.total );
dump_uint64( ",apc=", &result->async_io.apc );
dump_uint64( ",arg=", &result->async_io.arg );
break; break;
case APC_VIRTUAL_ALLOC: case APC_VIRTUAL_ALLOC:
fprintf( stderr, "APC_VIRTUAL_ALLOC,status=%s", fprintf( stderr, "APC_VIRTUAL_ALLOC,status=%s",