#NEWLINE# def get_MIB_TCP6TABLE_OWNER_PID_from_buffer( buffer ) : #NEWLINE# #INDENT# x = windows . generated_def . winstructs . MIB_TCP6TABLE_OWNER_PID . from_buffer ( nb_entry ) #NEWLINE# nb_entry = x . dwNumEntries #NEWLINE# class _GENERATED_MIB_TCP6TABLE_OWNER_PID ( Structure ) : #NEWLINE# #INDENT# _fields_ = [ ( 'dwNumEntries' , DWORD ) , ( 'table' , ( TCP6Connection * nb_entry ) ) ] #NEWLINE# #UNINDENT# return _GENERATED_MIB_TCP6TABLE_OWNER_PID . from_buffer ( buffer )