code: def get_table(self):
  		
  		buffer_length = self.__get_table_size()
  		returned_buffer_length = ctypes.wintypes.DWORD(buffer_length)
  		buffer = ctypes.create_string_buffer(buffer_length)
  		pointer_type = ctypes.POINTER(self.structure)
  		table_p = ctypes.cast(buffer, pointer_type)
  		res = self.method(table_p, returned_buffer_length, False)
  		if res != errors.NO_ERROR:
  			raise RuntimeError("Error retrieving table (%d)" % res)
  		return table_p.contents
docs: Get the table