http://bugs.winehq.org/show_bug.cgi?id=16161
--- Comment #4 from martinmnet martinmnet@hotmail.com 2008-11-24 09:04:44 --- Sorry, Forgot the text.
Even though MS can be off on their documentation, Normally, NULL as a parameter should not be used for any MS API unless MS documentation read so.
For a quick test, you can use the server and client code on MS web site at http://msdn.microsoft.com/en-us/library/aa365588(VS.85).aspx
Add flag FILE_FLAG_OVERLAPPED to the call to CreateNamedPipe
Make modifications in function InstanceThread: Add variable OVERLAPPED ovl; Change last params for ReadFile and WriteFile to &ovl and add GetOverlappedResult with null param after the readfile, for example.