mirror of
https://github.com/reactos/reactos.git
synced 2024-07-10 22:55:05 +00:00
[PSDK]
- Add USB_HUB_CHANGE and USB_HUB_STATUS_AND_CHANGE svn path=/trunk/; revision=75229
This commit is contained in:
parent
dc50f1da19
commit
10dc514582
|
@ -196,6 +196,27 @@ typedef union _USB_HUB_STATUS {
|
||||||
|
|
||||||
C_ASSERT(sizeof(USB_HUB_STATUS) == sizeof(USHORT));
|
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_RESERVED 0x00
|
||||||
#define USB_DEVICE_CLASS_AUDIO 0x01
|
#define USB_DEVICE_CLASS_AUDIO 0x01
|
||||||
#define USB_DEVICE_CLASS_COMMUNICATIONS 0x02
|
#define USB_DEVICE_CLASS_COMMUNICATIONS 0x02
|
||||||
|
|
Loading…
Reference in a new issue