libusb_open_device_with_vid_pid method
Pointer<libusb_device_handle>
libusb_open_device_with_vid_pid(
- Pointer<
libusb_context> ctx, - int vendor_id,
- 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 ??= _dylib.lookupFunction<
_c_libusb_open_device_with_vid_pid,
_dart_libusb_open_device_with_vid_pid>(
'libusb_open_device_with_vid_pid'))(
ctx,
vendor_id,
product_id,
);
}