diff options
Diffstat (limited to 'libusb/os/windows_common.h')
-rw-r--r-- | libusb/os/windows_common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libusb/os/windows_common.h b/libusb/os/windows_common.h index 59891d4..00cdda3 100644 --- a/libusb/os/windows_common.h +++ b/libusb/os/windows_common.h @@ -135,6 +135,11 @@ typedef LONG USBD_STATUS; #define USBD_STATUS_CANCELED ((USBD_STATUS)0xC0010000L) #endif +// error code added with Windows SDK 10.0.18362 +#ifndef ERROR_NO_SUCH_DEVICE +#define ERROR_NO_SUCH_DEVICE 433L +#endif + /* Windows versions */ enum windows_version { WINDOWS_UNDEFINED, |