Function Reference


_NamedPipes_DisconnectNamedPipe

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

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

Parameters

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

Return Value

Success: True.
Failure: False.

Remarks

If the client end of the named pipe is open, the _NamedPipes_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 _WinAPI_CloseHandle() function to close its end of the pipe.

Related

_WinAPI_CloseHandle

See Also

Search DisconnectNamedPipe in MSDN Library.