summaryrefslogtreecommitdiff
path: root/libusb/os/windows_usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'libusb/os/windows_usb.h')
-rw-r--r--libusb/os/windows_usb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libusb/os/windows_usb.h b/libusb/os/windows_usb.h
index 355e615..713ced3 100644
--- a/libusb/os/windows_usb.h
+++ b/libusb/os/windows_usb.h
@@ -292,6 +292,9 @@ struct interface_handle_t {
struct windows_device_handle_priv {
int active_interface;
struct interface_handle_t interface_handle[USB_MAXINTERFACES];
+#if defined(AUTO_CLAIM)
+ int autoclaim_count[USB_MAXINTERFACES]; // For auto-release
+#endif
};
static inline struct windows_device_handle_priv *__device_handle_priv(
@@ -307,9 +310,6 @@ struct windows_transfer_priv {
uint8_t *hid_buffer; // 1 byte extended data buffer, required for HID
uint8_t *hid_dest; // transfer buffer destination, required for HID
size_t hid_expected_size;
-#if defined(AUTO_CLAIM)
- bool autoclaimed; // For auto-release
-#endif
};