Sets the read mode and the blocking mode of the specified named pipe
#include <NamedPipes.au3>
_NamedPipes_SetNamedPipeHandleState ( $hNamedPipe, $iRead, $iWait [, $iBytes = 0 [, $iTimeOut = 0]] )
$hNamedPipe | Handle to the named pipe instance |
$iRead | Pipe read mode. Must be one of the following: 0 - Data is read from the pipe as a stream of bytes 1 - Data is read from the pipe as a stream of messages |
$iWait | Pipe wait mode. Must be one of the following: 0 - Blocking mode is enabled 1 - Nonblocking mode is enabled |
$iBytes | [optional] Maximum number of bytes collected on the client computer before transmission to the server |
$iTimeout | [optional] Maximum time, in milliseconds, that can pass before a remote named pipe transfers information |
Success: | True. |
Failure: | False. |
_NamedPipes_GetNamedPipeHandleState
Search SetNamedPipeHandleState in MSDN Library.