win32pipe.GetNamedPipeHandleState

(int, int, int/None, int/None, PyUnicode = GetNamedPipeHandleState(hPipe, bGetCollectionData , bGetUserName )

Determines the state of the named pipe.

Parameters

hPipe : PyHANDLE

The handle to the pipe.

bGetCollectionData=0 : int

Determines if the collection data should be retrieved. If not, None is returned in their place.

bGetUserName=0 : int

Determines if the username should be retrieved. Works only for a server handle and if the client opened the pipe with SECURITY_IMPERSONATION access.