winapi 0.2.5

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
// Copyright © 2015, Alex Daniel Jones
// Licensed under the MIT License <LICENSE.md>
// Taken from hidclass.h
pub type PHIDP_PREPARSED_DATA = ::PVOID;
STRUCT!{struct HID_COLLECTION_INFORMATION {
    DescriptorSize: ::ULONG,
    Polled: ::BOOLEAN,
    Reserved1: [::UCHAR; 1],
    VendorID: ::USHORT,
    ProductID: ::USHORT,
    VersionNumber: ::USHORT,
}}
pub type PHID_COLLECTION_INFORMATION = *mut HID_COLLECTION_INFORMATION;