diff options
Diffstat (limited to 'third_party/rust/winapi-0.2.8/src/winusbio.rs')
-rw-r--r-- | third_party/rust/winapi-0.2.8/src/winusbio.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/rust/winapi-0.2.8/src/winusbio.rs b/third_party/rust/winapi-0.2.8/src/winusbio.rs new file mode 100644 index 0000000000..3dedf2265f --- /dev/null +++ b/third_party/rust/winapi-0.2.8/src/winusbio.rs @@ -0,0 +1,18 @@ +// Copyright © 2016, bitbegin
+// Licensed under the MIT License <LICENSE.md>
+//! USBIO Definitions.
+STRUCT!{struct WINUSB_PIPE_INFORMATION {
+ PipeType: ::USBD_PIPE_TYPE,
+ PipeId: ::UCHAR,
+ MaximumPacketSize: ::USHORT,
+ Interval: ::UCHAR,
+}}
+pub type PWINUSB_PIPE_INFORMATION = *mut WINUSB_PIPE_INFORMATION;
+STRUCT!{struct WINUSB_PIPE_INFORMATION_EX {
+ PipeType: ::USBD_PIPE_TYPE,
+ PipeId: ::UCHAR,
+ MaximumPacketSize: ::USHORT,
+ Interval: ::UCHAR,
+ MaximumBytesPerInterval: ::ULONG,
+}}
+pub type PWINUSB_PIPE_INFORMATION_EX = *mut WINUSB_PIPE_INFORMATION_EX;
|