This call waits for the availability of a named pipe instance.
DosWaitNmPipe
FileName (PSZ) - input
This call should be used only when ERROR_PIPE_BUSY is returned from a DosOpen call.
DosWaitNmPipe allows an application to wait for a server on a named pipe for which all instances are currently busy. The call waits up to TimeOut milliseconds (or a default time if TimeOut is zero).
When a pipe instance becomes available, it is given to the process whose thread has the highest priority. The priority of a thread may be changed with DosSetPrty.