]>
Commit | Line | Data |
---|---|---|
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. | |
6 | use shared::guiddef::IID; | |
7 | use shared::minwindef::ULONG; | |
8 | use um::unknwnbase::{IUnknown, IUnknownVtbl}; | |
9 | use um::winnt::HRESULT; | |
10 | use winrt::hstring::HSTRING; | |
11 | pub type LPINSPECTABLE = *mut IInspectable; | |
12 | ENUM!{enum TrustLevel { | |
13 | BaseTrust = 0, | |
14 | PartialTrust, | |
15 | FullTrust, | |
16 | }} | |
17 | RIDL!{#[uuid(0xaf86e2e0, 0xb12d, 0x4c6a, 0x9c, 0x5a, 0xd7, 0xaa, 0x65, 0x10, 0x1e, 0x90)] | |
18 | interface 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 | }} |