ctypes.byref()

ctypes.byref(C instance[, offset=0]) → byref-object

Return a pointer lookalike to a C instance, only usable as function argument