blob: 01cfc6d3023a024e03baee853b54209c27482fed [file] [log] [blame]
// Copyright © 2015, Peter Atashian
// Licensed under the MIT License <LICENSE.md>
//! This interface definition contains typedefs for Windows Runtime data types.
DECLARE_HANDLE!(HSTRING, HSTRING__);
#[cfg(target_arch = "x86_64")]
STRUCT!{struct HSTRING_HEADER {
Reserved: [::PVOID; 0], // For alignment
Reserved2: [::c_char; 24],
}}
#[cfg(target_arch = "x86")]
STRUCT!{struct HSTRING_HEADER {
Reserved: [::PVOID; 0], // For alignment
Reserved2: [::c_char; 20],
}}
UNION!(HSTRING_HEADER, Reserved2, Reserved1, Reserved1_mut, ::PVOID);
DECLARE_HANDLE!(HSTRING_BUFFER, HSTRING_BUFFER__);