include/ddk: Add USB_HUB_DESCRIPTOR
André Hentschel
nerv at dawncrow.de
Tue Aug 6 17:01:40 CDT 2013
---
include/ddk/usb100.h | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/include/ddk/usb100.h b/include/ddk/usb100.h
index b013f21..7ec7493 100644
--- a/include/ddk/usb100.h
+++ b/include/ddk/usb100.h
@@ -102,6 +102,17 @@ typedef struct _USB_COMMON_DESCRIPTOR {
} USB_COMMON_DESCRIPTOR;
typedef struct _USB_COMMON_DESCRIPTOR *PUSB_COMMON_DESCRIPTOR;
+typedef struct _USB_HUB_DESCRIPTOR {
+ UCHAR bDescriptorLength;
+ UCHAR bDescriptorType;
+ UCHAR bNumberOfPorts;
+ USHORT wHubCharacteristics;
+ UCHAR bPowerOnToPowerGood;
+ UCHAR bHubControlCurrent;
+ UCHAR bRemoveAndPowerMask[64];
+} USB_HUB_DESCRIPTOR;
+typedef struct _USB_HUB_DESCRIPTOR *PUSB_HUB_DESCRIPTOR;
+
#include <poppack.h>
#endif
--
1.8.1.2
More information about the wine-patches
mailing list