ERROR_IO_PENDING is expected, so don't return an error.

This commit is contained in:
Robert Shearman 2005-02-15 15:03:14 +00:00 committed by Alexandre Julliard
parent 9a99dc14eb
commit 1912e8896e

View file

@ -177,6 +177,8 @@ RPC_STATUS RPCRT4_OpenConnection(RpcConnection* Connection)
if (GetLastError() == ERROR_PIPE_CONNECTED) {
SetEvent(Connection->ovl.hEvent);
return RPC_S_OK;
} else if (GetLastError() == ERROR_IO_PENDING) {
return RPC_S_OK;
}
return RPC_S_SERVER_UNAVAILABLE;
}