diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/DragDrop')
-rw-r--r-- | vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs | 19 | ||||
-rw-r--r-- | vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/DragDrop/mod.rs | 20 |
2 files changed, 39 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs new file mode 100644 index 000000000..23cd099c7 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs @@ -0,0 +1,19 @@ +pub type CoreDragDropManager = *mut ::core::ffi::c_void; +pub type CoreDragInfo = *mut ::core::ffi::c_void; +pub type CoreDragOperation = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_DataTransfer_DragDrop_Core\"`*"] +#[repr(transparent)] +pub struct CoreDragUIContentMode(pub u32); +impl CoreDragUIContentMode { + pub const Auto: Self = Self(0u32); + pub const Deferred: Self = Self(1u32); +} +impl ::core::marker::Copy for CoreDragUIContentMode {} +impl ::core::clone::Clone for CoreDragUIContentMode { + fn clone(&self) -> Self { + *self + } +} +pub type CoreDragUIOverride = *mut ::core::ffi::c_void; +pub type CoreDropOperationTargetRequestedEventArgs = *mut ::core::ffi::c_void; +pub type ICoreDropOperationTarget = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/DragDrop/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/DragDrop/mod.rs new file mode 100644 index 000000000..7c5232529 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/DragDrop/mod.rs @@ -0,0 +1,20 @@ +#[cfg(feature = "ApplicationModel_DataTransfer_DragDrop_Core")] +pub mod Core; +#[doc = "*Required features: `\"ApplicationModel_DataTransfer_DragDrop\"`*"] +#[repr(transparent)] +pub struct DragDropModifiers(pub u32); +impl DragDropModifiers { + pub const None: Self = Self(0u32); + pub const Shift: Self = Self(1u32); + pub const Control: Self = Self(2u32); + pub const Alt: Self = Self(4u32); + pub const LeftButton: Self = Self(8u32); + pub const MiddleButton: Self = Self(16u32); + pub const RightButton: Self = Self(32u32); +} +impl ::core::marker::Copy for DragDropModifiers {} +impl ::core::clone::Clone for DragDropModifiers { + fn clone(&self) -> Self { + *self + } +} |