commit | 6d037d0625a1e8a68d6bcd0f9f35f9026f97b2bd | [log] [tgz] |
---|---|---|
author | Matthias Bolte <matthias@tinkerforge.com> | Fri Dec 13 18:05:08 2019 +0100 |
committer | Chris Dickens <christopher.a.dickens@gmail.com> | Thu Jan 02 18:54:59 2020 -0800 |
tree | 861ab49215dbb72e4c22bfbe277d0767246ed8f2 | |
parent | f67f065709c948d2e29150ea2a3d9441a2609f36 [diff] |
windows: Translate ERROR_DEVICE_NOT_CONNECTED to LIBUSB_TRANSFER_NO_DEVICE Windows 7 reports error code ERROR_DEVICE_NOT_CONNECTED if transters fail due to unplugging the device. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD and Haiku userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).
libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.
libusb homepage: http://libusb.info/
Developers will wish to consult the API documentation: http://api.libusb.info
Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info
(Please use the mailing list rather than mailing developers directly)