SysWaitNamedPipe (Windows only)

>>-SysWaitNamedPipe(name-+----------+-)------------------------><
                         +-,timeout-+

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

Parameters:

name

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

timeout

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.