http://bugs.winehq.org/show_bug.cgi?id=28257
--- Comment #6 from jhgf bernhardloos@googlemail.com 2011-10-04 09:32:35 CDT --- Created attachment 36704 --> http://bugs.winehq.org/attachment.cgi?id=36704 reproduce the bug every time
On windows, the DisconnectNamedPipe call disconnects the named pipe completly. In wine, the pipe will go into a wait_disconnect state and the actual disconnect only happens once all handles to the client end of the pipe are closed. Until then ConnectNamedPipe calls will fail with ERROR_PIPE_BUSY.