Windows: Translate ERROR_NO_SUCH_DEVICE to LIBUSB_TRANSFER_NO_DEVICE
authorSebastian von Ohr <vonohr@smaract.com>
Tue, 28 Apr 2020 14:28:27 +0000 (16:28 +0200)
committerChris Dickens <christopher.a.dickens@gmail.com>
Thu, 30 Apr 2020 18:50:49 +0000 (11:50 -0700)
commit26611eaa494ed9e077b5b0e1f999f5ae377de958
treecdd67e816529f5212b5260286d4f7338756bd339
parente2be556bd262cd260bebe3fc724509692537eba3
Windows: Translate ERROR_NO_SUCH_DEVICE to LIBUSB_TRANSFER_NO_DEVICE

Windows SDK 10.0.18362.0 adds a new error code ERROR_NO_SUCH_DEVICE
which is returned when the device is disconnected.

Closes #721, Closes #722

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/os/windows_common.c
libusb/os/windows_common.h
libusb/version_nano.h