win32pipe.SetNamedPipeHandleState

SetNamedPipeHandleState(hPipe, Mode, MaxCollectionCount, CollectDataTimeout)

Sets the state of the named pipe.

Parameters

hPipe : PyHANDLE

The handle to the pipe.

Mode : int/None

The pipe read mode.

MaxCollectionCount : int/None

Maximum bytes collected before transmission to the server.

CollectDataTimeout : int/None

Maximum time to wait, in milliseconds, before transmission to server.