summaryrefslogtreecommitdiffstats
path: root/third_party/rust/winapi-0.2.8/src/guiddef.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--third_party/rust/winapi-0.2.8/src/guiddef.rs20
1 files changed, 20 insertions, 0 deletions
diff --git a/third_party/rust/winapi-0.2.8/src/guiddef.rs b/third_party/rust/winapi-0.2.8/src/guiddef.rs
new file mode 100644
index 0000000000..8b436cdda5
--- /dev/null
+++ b/third_party/rust/winapi-0.2.8/src/guiddef.rs
@@ -0,0 +1,20 @@
+// Copyright © 2015, Peter Atashian
+// Licensed under the MIT License <LICENSE.md>
+STRUCT!{struct GUID {
+ Data1: ::c_ulong,
+ Data2: ::c_ushort,
+ Data3: ::c_ushort,
+ Data4: [::c_uchar; 8],
+}}
+pub type LPGUID = *mut GUID;
+pub type LPCGUID = *const GUID;
+pub type IID = GUID;
+pub type LPIID = *mut IID;
+pub type CLSID = GUID;
+pub type LPCLSID = *mut CLSID;
+pub type FMTID = GUID;
+pub type LPFMTID = *mut FMTID;
+pub type REFGUID = *const GUID;
+pub type REFIID = *const IID;
+pub type REFCLSID = *const IID;
+pub type REFFMTID = *const IID;