Функция _NamedPipes_DisconnectNamedPipe

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


_NamedPipes_DisconnectNamedPipe

Disconnects the server end of a named pipe instance from a client process

#include <NamedPipes.au3>
_NamedPipes_DisconnectNamedPipe($hNamedPipe)

Параметры

$hNamedPipe Handle to the server end of a named pipe instance.

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

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

Примечания

If the client end of the named pipe is open, the DisconnectNamedPipe function forces that end of the named
pipe closed. The client receives an error the next time it attempts to access the pipe. A client that is
forced off a pipe must still use the CloseHandle function to close its end of the pipe.

См. также

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