summaryrefslogtreecommitdiffstats
path: root/third_party/rust/winapi-0.2.8/src/hidsdi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/winapi-0.2.8/src/hidsdi.rs')
-rw-r--r--third_party/rust/winapi-0.2.8/src/hidsdi.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/rust/winapi-0.2.8/src/hidsdi.rs b/third_party/rust/winapi-0.2.8/src/hidsdi.rs
new file mode 100644
index 0000000000..1b421f038a
--- /dev/null
+++ b/third_party/rust/winapi-0.2.8/src/hidsdi.rs
@@ -0,0 +1,15 @@
+// Copyright © 2015, Peter Atashian and Alex Daniel Jones
+// Licensed under the MIT License <LICENSE.md>
+STRUCT!{struct HIDD_CONFIGURATION {
+ cookie: ::PVOID,
+ size: ::ULONG,
+ RingBufferSize: ::ULONG,
+}}
+pub type PHIDD_CONFIGURATION = *mut HIDD_CONFIGURATION;
+STRUCT!{struct HIDD_ATTRIBUTES {
+ Size: ::ULONG,
+ VendorID: ::USHORT,
+ ProductID: ::USHORT,
+ VersionNumber: ::USHORT,
+}}
+pub type PHIDD_ATTRIBUTES = *mut HIDD_ATTRIBUTES;