winapi_ui_automation/winrt/
inspectable.rs1use 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}}