ConnectNamedPipe Fix

Robert Shearman rob at
Thu Jan 19 10:16:58 CST 2006

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.

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(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3c5269c5e7f6257cc2ebddbae040b17ca48ccf1c.diff
Type: text/x-patch
Size: 1396 bytes
Desc: not available
Url :

More information about the wine-devel mailing list