<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_table(self):
 		""" 		Get the table 		"""

		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