Module: wine Branch: master Commit: b54833890a21d1d5e3feeba74a7084b729fca30d URL: http://source.winehq.org/git/wine.git/?a=commit;h=b54833890a21d1d5e3feeba74a...
Author: Jacek Caban jacek@codeweavers.com Date: Mon May 22 16:04:50 2017 +0200
rpcrt4: Implement cancel_call for named pipes.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/rpcrt4/rpc_transport.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c index ab87daa..1e7a62b 100644 --- a/dlls/rpcrt4/rpc_transport.c +++ b/dlls/rpcrt4/rpc_transport.c @@ -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)