rpcrt4: Implement cancel_call for named pipes.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2017-05-22 16:04:50 +02:00 committed by Alexandre Julliard
parent 372c9e0db5
commit b54833890a
1 changed files with 3 additions and 2 deletions

View File

@ -447,9 +447,10 @@ static int rpcrt4_conn_np_close(RpcConnection *conn)
return 0;
}
static void rpcrt4_conn_np_cancel_call(RpcConnection *Connection)
static void rpcrt4_conn_np_cancel_call(RpcConnection *conn)
{
/* FIXME: implement when named pipe writes use overlapped I/O */
RpcConnection_np *connection = (RpcConnection_np *)conn;
CancelIoEx(connection->pipe, NULL);
}
static int rpcrt4_conn_np_wait_for_incoming_data(RpcConnection *Connection)