1 // Copyright © 2016, bitbegin 2 // Licensed under the MIT License <LICENSE.md> 3 //! USBIO Definitions. 4 STRUCT!{struct WINUSB_PIPE_INFORMATION { 5 PipeType: ::USBD_PIPE_TYPE, 6 PipeId: ::UCHAR, 7 MaximumPacketSize: ::USHORT, 8 Interval: ::UCHAR, 9 }} 10 pub type PWINUSB_PIPE_INFORMATION = *mut WINUSB_PIPE_INFORMATION; 11 STRUCT!{struct WINUSB_PIPE_INFORMATION_EX { 12 PipeType: ::USBD_PIPE_TYPE, 13 PipeId: ::UCHAR, 14 MaximumPacketSize: ::USHORT, 15 Interval: ::UCHAR, 16 MaximumBytesPerInterval: ::ULONG, 17 }} 18 pub type PWINUSB_PIPE_INFORMATION_EX = *mut WINUSB_PIPE_INFORMATION_EX; 19