winapi 0.2.8

Types and constants for WinAPI bindings. See README for list of crates providing function bindings.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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;