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
// 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__);