diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/System/Preview/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/System/Preview/mod.rs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/System/Preview/mod.rs b/vendor/windows-sys/src/Windows/System/Preview/mod.rs new file mode 100644 index 000000000..4c0cd50c2 --- /dev/null +++ b/vendor/windows-sys/src/Windows/System/Preview/mod.rs @@ -0,0 +1,24 @@ +#[doc = "*Required features: `\"System_Preview\"`, `\"deprecated\"`*"] +#[cfg(feature = "deprecated")] +#[repr(transparent)] +pub struct HingeState(pub i32); +#[cfg(feature = "deprecated")] +impl HingeState { + pub const Unknown: Self = Self(0i32); + pub const Closed: Self = Self(1i32); + pub const Concave: Self = Self(2i32); + pub const Flat: Self = Self(3i32); + pub const Convex: Self = Self(4i32); + pub const Full: Self = Self(5i32); +} +#[cfg(feature = "deprecated")] +impl ::core::marker::Copy for HingeState {} +#[cfg(feature = "deprecated")] +impl ::core::clone::Clone for HingeState { + fn clone(&self) -> Self { + *self + } +} +pub type TwoPanelHingedDevicePosturePreview = *mut ::core::ffi::c_void; +pub type TwoPanelHingedDevicePosturePreviewReading = *mut ::core::ffi::c_void; +pub type TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs = *mut ::core::ffi::c_void; |