1 // Copyright © 2016, bitbegin
2 // Licensed under the MIT License <LICENSE.md>
3 //! USB Definitions.
4 ENUM!{enum USBD_PIPE_TYPE {
5     UsbdPipeTypeControl,
6     UsbdPipeTypeIsochronous,
7     UsbdPipeTypeBulk,
8     UsbdPipeTypeInterrupt,
9 }}
10 
11 pub type USBD_STATUS = ::LONG;
12 
13 STRUCT!{struct USBD_ISO_PACKET_DESCRIPTOR {
14 	Offset: ::ULONG,
15 	Length: ::ULONG,
16 	Status: ::USBD_STATUS,
17 }}
18 pub type PUSBD_ISO_PACKET_DESCRIPTOR = *mut USBD_ISO_PACKET_DESCRIPTOR;
19