Hi all,
Here is a patch to fix ConnectNamedPipe on a non-overlapped handle when an OVERLAPPED structure is passed in. I'm not sending it to wine-patches yet because the RPC code has not been fixed to work around this yet.
ChangeLog: Return STATUS_PENDING from the connect_named_pipe call if the server was opened overlapped. STATUS_SUCCESS in the client code now indicates that the event must be waited on before returning.
dlls/ntdll/file.c | 10 +++------- server/named_pipe.c | 2 ++ 2 files changed, 5 insertions(+), 7 deletions(-)