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 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.

See Also

Search DisconnectNamedPipe in MSDN Library.