Author: tfaber
Date: Thu Jun 29 08:09:44 2017
New Revision: 75229
URL:
http://svn.reactos.org/svn/reactos?rev=75229&view=rev
Log:
[PSDK]
- Add USB_HUB_CHANGE and USB_HUB_STATUS_AND_CHANGE
Modified:
trunk/reactos/sdk/include/psdk/usb200.h
Modified: trunk/reactos/sdk/include/psdk/usb200.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/psdk/usb200.h?…
==============================================================================
--- trunk/reactos/sdk/include/psdk/usb200.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/psdk/usb200.h [iso-8859-1] Thu Jun 29 08:09:44 2017
@@ -195,6 +195,27 @@
} USB_HUB_STATUS, *PUSB_HUB_STATUS;
C_ASSERT(sizeof(USB_HUB_STATUS) == sizeof(USHORT));
+
+typedef union _USB_HUB_CHANGE {
+ USHORT AsUshort16;
+ struct {
+ USHORT LocalPowerChange:1;
+ USHORT OverCurrentChange:1;
+ USHORT Reserved:14;
+ };
+} USB_HUB_CHANGE, *PUSB_HUB_CHANGE;
+
+C_ASSERT(sizeof(USB_HUB_CHANGE) == sizeof(USHORT));
+
+typedef union _USB_HUB_STATUS_AND_CHANGE {
+ ULONG AsUlong32;
+ struct {
+ USB_HUB_STATUS HubStatus;
+ USB_HUB_CHANGE HubChange;
+ };
+} USB_HUB_STATUS_AND_CHANGE, *PUSB_HUB_STATUS_AND_CHANGE;
+
+C_ASSERT(sizeof(USB_HUB_STATUS_AND_CHANGE) == sizeof(ULONG));
#define USB_DEVICE_CLASS_RESERVED 0x00
#define USB_DEVICE_CLASS_AUDIO 0x01