]> git.proxmox.com Git - rustc.git/blame - vendor/winapi/src/winrt/inspectable.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / vendor / winapi / src / winrt / inspectable.rs
CommitLineData
ff7c6d11
XL
1// Licensed under the Apache License, Version 2.0
2// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
4// All files in the project carrying such notice may not be copied, modified, or distributed
5// except according to those terms.
6use shared::guiddef::IID;
7use shared::minwindef::ULONG;
8use um::unknwnbase::{IUnknown, IUnknownVtbl};
9use um::winnt::HRESULT;
10use winrt::hstring::HSTRING;
11pub type LPINSPECTABLE = *mut IInspectable;
12ENUM!{enum TrustLevel {
13 BaseTrust = 0,
14 PartialTrust,
15 FullTrust,
16}}
17RIDL!{#[uuid(0xaf86e2e0, 0xb12d, 0x4c6a, 0x9c, 0x5a, 0xd7, 0xaa, 0x65, 0x10, 0x1e, 0x90)]
18interface IInspectable(IInspectableVtbl): IUnknown(IUnknownVtbl) {
19 fn GetIids(
20 iidCount: *mut ULONG,
21 iids: *mut *mut IID,
22 ) -> HRESULT,
23 fn GetRuntimeClassName(
24 className: *mut HSTRING,
25 ) -> HRESULT,
26 fn GetTrustLevel(
27 trustLevel: *mut TrustLevel,
28 ) -> HRESULT,
29}}