Copies data from a pipe into a buffer without removing it from the pipe
#include <NamedPipes.au3>
_NamedPipes_PeekNamedPipe ( $hNamedPipe )
$hNamedPipe | Handle to the pipe |
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. |
Search PeekNamedPipe in MSDN Library.