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.