SysWaitNamedPipe (Windows only)


Performs a timed wait on a named pipe and returns the WaitNamedPipe return code.



The name of the pipe in the form "\\servername\pipe\pipename."


The number of microseconds to be waited. If you omit timeout or specify 0, SysWaitNamedPipe uses the default timeout value. To wait until the pipe is no longer busy, you can use a value of -1.

Returns 0 on success. A Windows System Error code is returned on error.