#NEWLINE# @ OptionalExport ( IphlpapiProxy ( 'GetExtendedTcpTable' ) ) #NEWLINE# def GetExtendedTcpTable( pTcpTable , pdwSize = None , bOrder = True , ulAf = NeededParameter , TableClass = TCP_TABLE_OWNER_PID_ALL , Reserved = 0 ) : #NEWLINE# #INDENT# if ( pdwSize is None ) : #NEWLINE# #INDENT# pdwSize = ULONG ( ctypes . sizeof ( pTcpTable ) ) #NEWLINE# #UNINDENT# return GetExtendedTcpTable . ctypes_function ( pTcpTable , pdwSize , bOrder , ulAf , TableClass , Reserved )