diff options
Diffstat (limited to 'third_party/rust/winapi-0.2.8/src/inspectable.rs')
-rw-r--r-- | third_party/rust/winapi-0.2.8/src/inspectable.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/rust/winapi-0.2.8/src/inspectable.rs b/third_party/rust/winapi-0.2.8/src/inspectable.rs new file mode 100644 index 0000000000..36575e1e50 --- /dev/null +++ b/third_party/rust/winapi-0.2.8/src/inspectable.rs @@ -0,0 +1,15 @@ +// Copyright © 2015, Peter Atashian +// Licensed under the MIT License <LICENSE.md> +pub type LPINSPECTABLE = *mut IInspectable; +ENUM!{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 +} +); |