Функция _NamedPipes_WaitNamedPipe

 ↑  ←  Описание функции


_NamedPipes_WaitNamedPipe

Waits for an instance of a named pipe to become available

#include <NamedPipes.au3>
_NamedPipes_WaitNamedPipe($sPipeName [, $iTimeOut = 0])

Параметры

$sPipeName The name of the named pipe. The string must include the name of the computer on which the
    server process is executing. A period may be used for the servername if the pipe is local.
$iTimeout [необязательный] The number of milliseconds that the function will wait for the named pipe to be available. You
    can also use one of the following values:
    -1 - The function does not return until an instance of the named pipe is available
    0 - The time-out interval is the default value specified by the server process

Возвращаемое значение

Успех:Возвращает True
Ошибка:Возвращает False

Примечания

If no instances of the specified named pipe exist the WaitNamedPipe function returns immediately

См. также

_NamedPipes_CallNamedPipe

См. также

Искать WaitNamedPipe в библиотеке MSDN