mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-14 12:27:13 +00:00
19 lines
463 B
Rust
19 lines
463 B
Rust
// Copyright © 2016, bitbegin
|
|
// Licensed under the MIT License <LICENSE.md>
|
|
//! USB Definitions.
|
|
ENUM!{enum USBD_PIPE_TYPE {
|
|
UsbdPipeTypeControl,
|
|
UsbdPipeTypeIsochronous,
|
|
UsbdPipeTypeBulk,
|
|
UsbdPipeTypeInterrupt,
|
|
}}
|
|
|
|
pub type USBD_STATUS = ::LONG;
|
|
|
|
STRUCT!{struct USBD_ISO_PACKET_DESCRIPTOR {
|
|
Offset: ::ULONG,
|
|
Length: ::ULONG,
|
|
Status: ::USBD_STATUS,
|
|
}}
|
|
pub type PUSBD_ISO_PACKET_DESCRIPTOR = *mut USBD_ISO_PACKET_DESCRIPTOR;
|