summaryrefslogtreecommitdiff
path: root/libusb/os/windows_usb.h
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-05-24 15:41:33 +0100
committerPete Batard <pbatard@gmail.com>2010-05-24 15:41:33 +0100
commit5d23127898e2d00913a2d699f41cdde58e86d3c3 (patch)
treeba2e7f6d75d2b43c0b6711a73799786583f20e95 /libusb/os/windows_usb.h
parent1688e69d7c704e050b9cb8218a767477e1a5548e (diff)
downloadlibusb-5d23127898e2d00913a2d699f41cdde58e86d3c3.tar.gz
added auto-release to autoclaimpbr280
Diffstat (limited to 'libusb/os/windows_usb.h')
-rw-r--r--libusb/os/windows_usb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libusb/os/windows_usb.h b/libusb/os/windows_usb.h
index 64fe9d9..355e615 100644
--- a/libusb/os/windows_usb.h
+++ b/libusb/os/windows_usb.h
@@ -307,6 +307,9 @@ 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
};