Sonatique
Sonatique
Hello, I guess the answer is "yes", but I didn't find a clear official answer despite all my seaches. Sorry if I missed it. Say I submitted N async transfers...
and adapt .def file to allow different dll output file names without conflicts (there is a priori no need to specify output name twice, once in the "$target" properties and...
Hotplug implementation for Windows. The idea is to use WM_DEVICECHANGE message to trigger a re-enumeration, then figure out which device(s) have been removed or added and trigger corresponding changes in...
1) Removes all parents with a single child remaining in parent tree This ensure that no parents of the direct parent of the device being considered are left in the...
This fixes an issue where an error that occurred in thread #X will create a false error message stating that thread #X+1 did not discover the correct number of devices
Depending on the devices or drivers, open() may return LIBUSB_ERROR_ACCESS LIBUSB_ERROR_NOT_FOUND LIBUSB_ERROR_NOT_SUPPORTED for devices "out of reach" to libusb.
Problem addressed by this PR: under Windows (as opposed to Linux, MacOS) multiple applications can all successfully call claim_interface on the same device with the same interface number. All calls...
And does this mean that, even if a given device is "officially" using libusb0 (i.e. libusb0.sys, libusb0.dll reported by Device Manager), then in the end all functions of winusb_interface are...
Since SPDRP_ADDRESS may return the actual port number, but not always, try another way of getting port number by matching VID/PID obtained via IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX with values encoded in dev_id string,...
While doing tests of removing USB device abruptly (i.e. physically upluggin it) during activity (basically reading on a data enpoint in a loop) I systematically got a BSOD. My stack...