Function Reference


_NamedPipes_PeekNamedPipe

Copies data from a pipe into a buffer without removing it from the pipe

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

Parameters

$hNamedPipe Handle to the pipe

Return Value

Success: an array with the following format:
    $aInfo[0] - Data read from the pipe
    $aInfo[1] - Bytes read from the pipe
    $aInfo[2] - Total bytes available to be read
    $aInfo[3] - Bytes remaining to be read for this message
Failure: sets the @error flag to non-zero.

See Also

Search PeekNamedPipe in MSDN Library.