libusb_hotplug_get_user_data method

Pointer<Void> libusb_hotplug_get_user_data(
  1. Pointer<libusb_context> ctx,
  2. int callback_handle
)

\ingroup libusb_hotplug Gets the user_data associated with a hotplug callback.

Since version v1.0.24 \ref LIBUSB_API_VERSION >= 0x01000108

\paramin ctx context this callback is registered with \paramin callback_handle the handle of the callback to get the user_data of

Implementation

ffi.Pointer<ffi.Void> libusb_hotplug_get_user_data(
  ffi.Pointer<libusb_context> ctx,
  int callback_handle,
) {
  return _libusb_hotplug_get_user_data(
    ctx,
    callback_handle,
  );
}