WaitNamedPipe(pipeName, timeout)
Waits until either a time-out interval elapses or an instance of the specified named pipe is available to be connected to (that is, the pipe's server process has a pending win32pipe::ConnectNamedPipe operation on the pipe).
Value | Meaning |
NMPWAIT_USE_DEFAULT_WAIT | The time-out interval is the default value specified by the server process in the CreateNamedPipe function. |
NMPWAIT_WAIT_FOREVER | The function does not return until an instance of the named pipe is available |