win32pipe.PeekNamedPipe

(string, int, int) = PeekNamedPipe(hPipe, size )

Copies data from a named or anonymous pipe into a buffer without removing it from the pipe. It also returns information about data in the pipe.

Parameters

hPipe : PyHANDLE

The handle to the pipe.

size : int

The size of the buffer.