From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- .../windows-sys/src/Windows/UI/Xaml/Interop/mod.rs | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 vendor/windows-sys/src/Windows/UI/Xaml/Interop/mod.rs (limited to 'vendor/windows-sys/src/Windows/UI/Xaml/Interop') diff --git a/vendor/windows-sys/src/Windows/UI/Xaml/Interop/mod.rs b/vendor/windows-sys/src/Windows/UI/Xaml/Interop/mod.rs new file mode 100644 index 000000000..02b9b69a8 --- /dev/null +++ b/vendor/windows-sys/src/Windows/UI/Xaml/Interop/mod.rs @@ -0,0 +1,51 @@ +pub type BindableVectorChangedEventHandler = *mut ::core::ffi::c_void; +pub type IBindableIterable = *mut ::core::ffi::c_void; +pub type IBindableIterator = *mut ::core::ffi::c_void; +pub type IBindableObservableVector = *mut ::core::ffi::c_void; +pub type IBindableVector = *mut ::core::ffi::c_void; +pub type IBindableVectorView = *mut ::core::ffi::c_void; +pub type INotifyCollectionChanged = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Interop\"`*"] +#[repr(transparent)] +pub struct NotifyCollectionChangedAction(pub i32); +impl NotifyCollectionChangedAction { + pub const Add: Self = Self(0i32); + pub const Remove: Self = Self(1i32); + pub const Replace: Self = Self(2i32); + pub const Move: Self = Self(3i32); + pub const Reset: Self = Self(4i32); +} +impl ::core::marker::Copy for NotifyCollectionChangedAction {} +impl ::core::clone::Clone for NotifyCollectionChangedAction { + fn clone(&self) -> Self { + *self + } +} +pub type NotifyCollectionChangedEventArgs = *mut ::core::ffi::c_void; +pub type NotifyCollectionChangedEventHandler = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Interop\"`*"] +#[repr(transparent)] +pub struct TypeKind(pub i32); +impl TypeKind { + pub const Primitive: Self = Self(0i32); + pub const Metadata: Self = Self(1i32); + pub const Custom: Self = Self(2i32); +} +impl ::core::marker::Copy for TypeKind {} +impl ::core::clone::Clone for TypeKind { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"UI_Xaml_Interop\"`*"] +pub struct TypeName { + pub Name: ::windows_sys::core::HSTRING, + pub Kind: TypeKind, +} +impl ::core::marker::Copy for TypeName {} +impl ::core::clone::Clone for TypeName { + fn clone(&self) -> Self { + *self + } +} -- cgit v1.2.3