libusb_open_device_with_vid_pid method

Pointer<libusb_device_handle> libusb_open_device_with_vid_pid(
  1. Pointer<libusb_context> ctx,
  2. int vendor_id,
  3. int product_id
)

Implementation

ffi.Pointer<libusb_device_handle> libusb_open_device_with_vid_pid(
  ffi.Pointer<libusb_context> ctx,
  int vendor_id,
  int product_id,
) {
  return _libusb_open_device_with_vid_pid(
    ctx,
    vendor_id,
    product_id,
  );
}