byref() argument must be a ctypes instance