winapi 0.2.3

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>
pub type LPINSPECTABLE = *mut IInspectable;
#[repr(i32)] #[derive(Clone, Copy, Debug)]
pub enum TrustLevel {
    BaseTrust = 0,
    PartialTrust,
    FullTrust,
}
RIDL!(
interface IInspectable(IInspectableVtbl): IUnknown(IUnknownVtbl) {
    fn GetIids(&mut self, iidCount: *mut ::ULONG, iids: *mut *mut ::IID) -> ::HRESULT,
    fn GetRuntimeClassName(&mut self, className: *mut ::HSTRING) -> ::HRESULT,
    fn GetTrustLevel(&mut self, trustLevel: *mut TrustLevel) -> ::HRESULT
}
);