From e80c1508d3469ecf1042adee3905d6305351de79 Mon Sep 17 00:00:00 2001 From: Harry Mallon Date: Thu, 7 Feb 2019 15:15:03 +0000 Subject: windows_winusb: Add support for reporting super speed plus devices Closes #531 Signed-off-by: Nathan Hjelm --- libusb/os/windows_winusb.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libusb/os/windows_winusb.h') diff --git a/libusb/os/windows_winusb.h b/libusb/os/windows_winusb.h index 3a911d5..dd8fde5 100644 --- a/libusb/os/windows_winusb.h +++ b/libusb/os/windows_winusb.h @@ -397,7 +397,9 @@ typedef union _USB_NODE_CONNECTION_INFORMATION_EX_V2_FLAGS { struct { ULONG DeviceIsOperatingAtSuperSpeedOrHigher:1; ULONG DeviceIsSuperSpeedCapableOrHigher:1; - ULONG ReservedMBZ:30; + ULONG DeviceIsOperatingAtSuperSpeedPlusOrHigher:1; + ULONG DeviceIsSuperSpeedPlusCapableOrHigher:1; + ULONG ReservedMBZ:28; }; } USB_NODE_CONNECTION_INFORMATION_EX_V2_FLAGS, *PUSB_NODE_CONNECTION_INFORMATION_EX_V2_FLAGS; -- cgit v1.2.1