diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
commit | 698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch) | |
tree | 173a775858bd501c378080a10dca74132f05bc50 /vendor/windows-sys/src/Windows/UI/Xaml/Media | |
parent | Initial commit. (diff) | |
download | rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip |
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/UI/Xaml/Media')
4 files changed, 694 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/UI/Xaml/Media/Animation/mod.rs b/vendor/windows-sys/src/Windows/UI/Xaml/Media/Animation/mod.rs new file mode 100644 index 000000000..fb64dc4bb --- /dev/null +++ b/vendor/windows-sys/src/Windows/UI/Xaml/Media/Animation/mod.rs @@ -0,0 +1,201 @@ +pub type AddDeleteThemeTransition = *mut ::core::ffi::c_void; +pub type BackEase = *mut ::core::ffi::c_void; +pub type BasicConnectedAnimationConfiguration = *mut ::core::ffi::c_void; +pub type BeginStoryboard = *mut ::core::ffi::c_void; +pub type BounceEase = *mut ::core::ffi::c_void; +pub type CircleEase = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media_Animation\"`*"] +#[repr(transparent)] +pub struct ClockState(pub i32); +impl ClockState { + pub const Active: Self = Self(0i32); + pub const Filling: Self = Self(1i32); + pub const Stopped: Self = Self(2i32); +} +impl ::core::marker::Copy for ClockState {} +impl ::core::clone::Clone for ClockState { + fn clone(&self) -> Self { + *self + } +} +pub type ColorAnimation = *mut ::core::ffi::c_void; +pub type ColorAnimationUsingKeyFrames = *mut ::core::ffi::c_void; +pub type ColorKeyFrame = *mut ::core::ffi::c_void; +pub type ColorKeyFrameCollection = *mut ::core::ffi::c_void; +pub type CommonNavigationTransitionInfo = *mut ::core::ffi::c_void; +pub type ConnectedAnimation = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media_Animation\"`*"] +#[repr(transparent)] +pub struct ConnectedAnimationComponent(pub i32); +impl ConnectedAnimationComponent { + pub const OffsetX: Self = Self(0i32); + pub const OffsetY: Self = Self(1i32); + pub const CrossFade: Self = Self(2i32); + pub const Scale: Self = Self(3i32); +} +impl ::core::marker::Copy for ConnectedAnimationComponent {} +impl ::core::clone::Clone for ConnectedAnimationComponent { + fn clone(&self) -> Self { + *self + } +} +pub type ConnectedAnimationConfiguration = *mut ::core::ffi::c_void; +pub type ConnectedAnimationService = *mut ::core::ffi::c_void; +pub type ContentThemeTransition = *mut ::core::ffi::c_void; +pub type ContinuumNavigationTransitionInfo = *mut ::core::ffi::c_void; +pub type CubicEase = *mut ::core::ffi::c_void; +pub type DirectConnectedAnimationConfiguration = *mut ::core::ffi::c_void; +pub type DiscreteColorKeyFrame = *mut ::core::ffi::c_void; +pub type DiscreteDoubleKeyFrame = *mut ::core::ffi::c_void; +pub type DiscreteObjectKeyFrame = *mut ::core::ffi::c_void; +pub type DiscretePointKeyFrame = *mut ::core::ffi::c_void; +pub type DoubleAnimation = *mut ::core::ffi::c_void; +pub type DoubleAnimationUsingKeyFrames = *mut ::core::ffi::c_void; +pub type DoubleKeyFrame = *mut ::core::ffi::c_void; +pub type DoubleKeyFrameCollection = *mut ::core::ffi::c_void; +pub type DragItemThemeAnimation = *mut ::core::ffi::c_void; +pub type DragOverThemeAnimation = *mut ::core::ffi::c_void; +pub type DrillInNavigationTransitionInfo = *mut ::core::ffi::c_void; +pub type DrillInThemeAnimation = *mut ::core::ffi::c_void; +pub type DrillOutThemeAnimation = *mut ::core::ffi::c_void; +pub type DropTargetItemThemeAnimation = *mut ::core::ffi::c_void; +pub type EasingColorKeyFrame = *mut ::core::ffi::c_void; +pub type EasingDoubleKeyFrame = *mut ::core::ffi::c_void; +pub type EasingFunctionBase = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media_Animation\"`*"] +#[repr(transparent)] +pub struct EasingMode(pub i32); +impl EasingMode { + pub const EaseOut: Self = Self(0i32); + pub const EaseIn: Self = Self(1i32); + pub const EaseInOut: Self = Self(2i32); +} +impl ::core::marker::Copy for EasingMode {} +impl ::core::clone::Clone for EasingMode { + fn clone(&self) -> Self { + *self + } +} +pub type EasingPointKeyFrame = *mut ::core::ffi::c_void; +pub type EdgeUIThemeTransition = *mut ::core::ffi::c_void; +pub type ElasticEase = *mut ::core::ffi::c_void; +pub type EntranceNavigationTransitionInfo = *mut ::core::ffi::c_void; +pub type EntranceThemeTransition = *mut ::core::ffi::c_void; +pub type ExponentialEase = *mut ::core::ffi::c_void; +pub type FadeInThemeAnimation = *mut ::core::ffi::c_void; +pub type FadeOutThemeAnimation = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media_Animation\"`*"] +#[repr(transparent)] +pub struct FillBehavior(pub i32); +impl FillBehavior { + pub const HoldEnd: Self = Self(0i32); + pub const Stop: Self = Self(1i32); +} +impl ::core::marker::Copy for FillBehavior {} +impl ::core::clone::Clone for FillBehavior { + fn clone(&self) -> Self { + *self + } +} +pub type GravityConnectedAnimationConfiguration = *mut ::core::ffi::c_void; +pub type KeySpline = *mut ::core::ffi::c_void; +#[repr(C)] +#[doc = "*Required features: `\"UI_Xaml_Media_Animation\"`, `\"Foundation\"`*"] +#[cfg(feature = "Foundation")] +pub struct KeyTime { + pub TimeSpan: super::super::super::super::Foundation::TimeSpan, +} +#[cfg(feature = "Foundation")] +impl ::core::marker::Copy for KeyTime {} +#[cfg(feature = "Foundation")] +impl ::core::clone::Clone for KeyTime { + fn clone(&self) -> Self { + *self + } +} +pub type KeyTimeHelper = *mut ::core::ffi::c_void; +pub type LinearColorKeyFrame = *mut ::core::ffi::c_void; +pub type LinearDoubleKeyFrame = *mut ::core::ffi::c_void; +pub type LinearPointKeyFrame = *mut ::core::ffi::c_void; +pub type NavigationThemeTransition = *mut ::core::ffi::c_void; +pub type NavigationTransitionInfo = *mut ::core::ffi::c_void; +pub type ObjectAnimationUsingKeyFrames = *mut ::core::ffi::c_void; +pub type ObjectKeyFrame = *mut ::core::ffi::c_void; +pub type ObjectKeyFrameCollection = *mut ::core::ffi::c_void; +pub type PaneThemeTransition = *mut ::core::ffi::c_void; +pub type PointAnimation = *mut ::core::ffi::c_void; +pub type PointAnimationUsingKeyFrames = *mut ::core::ffi::c_void; +pub type PointKeyFrame = *mut ::core::ffi::c_void; +pub type PointKeyFrameCollection = *mut ::core::ffi::c_void; +pub type PointerDownThemeAnimation = *mut ::core::ffi::c_void; +pub type PointerUpThemeAnimation = *mut ::core::ffi::c_void; +pub type PopInThemeAnimation = *mut ::core::ffi::c_void; +pub type PopOutThemeAnimation = *mut ::core::ffi::c_void; +pub type PopupThemeTransition = *mut ::core::ffi::c_void; +pub type PowerEase = *mut ::core::ffi::c_void; +pub type QuadraticEase = *mut ::core::ffi::c_void; +pub type QuarticEase = *mut ::core::ffi::c_void; +pub type QuinticEase = *mut ::core::ffi::c_void; +pub type ReorderThemeTransition = *mut ::core::ffi::c_void; +#[repr(C)] +#[doc = "*Required features: `\"UI_Xaml_Media_Animation\"`, `\"Foundation\"`*"] +#[cfg(feature = "Foundation")] +pub struct RepeatBehavior { + pub Count: f64, + pub Duration: super::super::super::super::Foundation::TimeSpan, + pub Type: RepeatBehaviorType, +} +#[cfg(feature = "Foundation")] +impl ::core::marker::Copy for RepeatBehavior {} +#[cfg(feature = "Foundation")] +impl ::core::clone::Clone for RepeatBehavior { + fn clone(&self) -> Self { + *self + } +} +pub type RepeatBehaviorHelper = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media_Animation\"`*"] +#[repr(transparent)] +pub struct RepeatBehaviorType(pub i32); +impl RepeatBehaviorType { + pub const Count: Self = Self(0i32); + pub const Duration: Self = Self(1i32); + pub const Forever: Self = Self(2i32); +} +impl ::core::marker::Copy for RepeatBehaviorType {} +impl ::core::clone::Clone for RepeatBehaviorType { + fn clone(&self) -> Self { + *self + } +} +pub type RepositionThemeAnimation = *mut ::core::ffi::c_void; +pub type RepositionThemeTransition = *mut ::core::ffi::c_void; +pub type SineEase = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media_Animation\"`*"] +#[repr(transparent)] +pub struct SlideNavigationTransitionEffect(pub i32); +impl SlideNavigationTransitionEffect { + pub const FromBottom: Self = Self(0i32); + pub const FromLeft: Self = Self(1i32); + pub const FromRight: Self = Self(2i32); +} +impl ::core::marker::Copy for SlideNavigationTransitionEffect {} +impl ::core::clone::Clone for SlideNavigationTransitionEffect { + fn clone(&self) -> Self { + *self + } +} +pub type SlideNavigationTransitionInfo = *mut ::core::ffi::c_void; +pub type SplineColorKeyFrame = *mut ::core::ffi::c_void; +pub type SplineDoubleKeyFrame = *mut ::core::ffi::c_void; +pub type SplinePointKeyFrame = *mut ::core::ffi::c_void; +pub type SplitCloseThemeAnimation = *mut ::core::ffi::c_void; +pub type SplitOpenThemeAnimation = *mut ::core::ffi::c_void; +pub type Storyboard = *mut ::core::ffi::c_void; +pub type SuppressNavigationTransitionInfo = *mut ::core::ffi::c_void; +pub type SwipeBackThemeAnimation = *mut ::core::ffi::c_void; +pub type SwipeHintThemeAnimation = *mut ::core::ffi::c_void; +pub type Timeline = *mut ::core::ffi::c_void; +pub type TimelineCollection = *mut ::core::ffi::c_void; +pub type Transition = *mut ::core::ffi::c_void; +pub type TransitionCollection = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/UI/Xaml/Media/Imaging/mod.rs b/vendor/windows-sys/src/Windows/UI/Xaml/Media/Imaging/mod.rs new file mode 100644 index 000000000..fc5ecf785 --- /dev/null +++ b/vendor/windows-sys/src/Windows/UI/Xaml/Media/Imaging/mod.rs @@ -0,0 +1,54 @@ +#[doc = "*Required features: `\"UI_Xaml_Media_Imaging\"`*"] +#[repr(transparent)] +pub struct BitmapCreateOptions(pub u32); +impl BitmapCreateOptions { + pub const None: Self = Self(0u32); + pub const IgnoreImageCache: Self = Self(8u32); +} +impl ::core::marker::Copy for BitmapCreateOptions {} +impl ::core::clone::Clone for BitmapCreateOptions { + fn clone(&self) -> Self { + *self + } +} +pub type BitmapImage = *mut ::core::ffi::c_void; +pub type BitmapSource = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media_Imaging\"`*"] +#[repr(transparent)] +pub struct DecodePixelType(pub i32); +impl DecodePixelType { + pub const Physical: Self = Self(0i32); + pub const Logical: Self = Self(1i32); +} +impl ::core::marker::Copy for DecodePixelType {} +impl ::core::clone::Clone for DecodePixelType { + fn clone(&self) -> Self { + *self + } +} +pub type DownloadProgressEventArgs = *mut ::core::ffi::c_void; +pub type DownloadProgressEventHandler = *mut ::core::ffi::c_void; +pub type RenderTargetBitmap = *mut ::core::ffi::c_void; +pub type SoftwareBitmapSource = *mut ::core::ffi::c_void; +pub type SurfaceImageSource = *mut ::core::ffi::c_void; +pub type SvgImageSource = *mut ::core::ffi::c_void; +pub type SvgImageSourceFailedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media_Imaging\"`*"] +#[repr(transparent)] +pub struct SvgImageSourceLoadStatus(pub i32); +impl SvgImageSourceLoadStatus { + pub const Success: Self = Self(0i32); + pub const NetworkError: Self = Self(1i32); + pub const InvalidFormat: Self = Self(2i32); + pub const Other: Self = Self(3i32); +} +impl ::core::marker::Copy for SvgImageSourceLoadStatus {} +impl ::core::clone::Clone for SvgImageSourceLoadStatus { + fn clone(&self) -> Self { + *self + } +} +pub type SvgImageSourceOpenedEventArgs = *mut ::core::ffi::c_void; +pub type VirtualSurfaceImageSource = *mut ::core::ffi::c_void; +pub type WriteableBitmap = *mut ::core::ffi::c_void; +pub type XamlRenderingBackgroundTask = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/UI/Xaml/Media/Media3D/mod.rs b/vendor/windows-sys/src/Windows/UI/Xaml/Media/Media3D/mod.rs new file mode 100644 index 000000000..6a4c9162d --- /dev/null +++ b/vendor/windows-sys/src/Windows/UI/Xaml/Media/Media3D/mod.rs @@ -0,0 +1,30 @@ +pub type CompositeTransform3D = *mut ::core::ffi::c_void; +#[repr(C)] +#[doc = "*Required features: `\"UI_Xaml_Media_Media3D\"`*"] +pub struct Matrix3D { + pub M11: f64, + pub M12: f64, + pub M13: f64, + pub M14: f64, + pub M21: f64, + pub M22: f64, + pub M23: f64, + pub M24: f64, + pub M31: f64, + pub M32: f64, + pub M33: f64, + pub M34: f64, + pub OffsetX: f64, + pub OffsetY: f64, + pub OffsetZ: f64, + pub M44: f64, +} +impl ::core::marker::Copy for Matrix3D {} +impl ::core::clone::Clone for Matrix3D { + fn clone(&self) -> Self { + *self + } +} +pub type Matrix3DHelper = *mut ::core::ffi::c_void; +pub type PerspectiveTransform3D = *mut ::core::ffi::c_void; +pub type Transform3D = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/UI/Xaml/Media/mod.rs b/vendor/windows-sys/src/Windows/UI/Xaml/Media/mod.rs new file mode 100644 index 000000000..688736ba4 --- /dev/null +++ b/vendor/windows-sys/src/Windows/UI/Xaml/Media/mod.rs @@ -0,0 +1,409 @@ +#[cfg(feature = "UI_Xaml_Media_Animation")] +pub mod Animation; +#[cfg(feature = "UI_Xaml_Media_Imaging")] +pub mod Imaging; +#[cfg(feature = "UI_Xaml_Media_Media3D")] +pub mod Media3D; +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct AcrylicBackgroundSource(pub i32); +impl AcrylicBackgroundSource { + pub const HostBackdrop: Self = Self(0i32); + pub const Backdrop: Self = Self(1i32); +} +impl ::core::marker::Copy for AcrylicBackgroundSource {} +impl ::core::clone::Clone for AcrylicBackgroundSource { + fn clone(&self) -> Self { + *self + } +} +pub type AcrylicBrush = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct AlignmentX(pub i32); +impl AlignmentX { + pub const Left: Self = Self(0i32); + pub const Center: Self = Self(1i32); + pub const Right: Self = Self(2i32); +} +impl ::core::marker::Copy for AlignmentX {} +impl ::core::clone::Clone for AlignmentX { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct AlignmentY(pub i32); +impl AlignmentY { + pub const Top: Self = Self(0i32); + pub const Center: Self = Self(1i32); + pub const Bottom: Self = Self(2i32); +} +impl ::core::marker::Copy for AlignmentY {} +impl ::core::clone::Clone for AlignmentY { + fn clone(&self) -> Self { + *self + } +} +pub type ArcSegment = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct AudioCategory(pub i32); +impl AudioCategory { + pub const Other: Self = Self(0i32); + pub const ForegroundOnlyMedia: Self = Self(1i32); + pub const BackgroundCapableMedia: Self = Self(2i32); + pub const Communications: Self = Self(3i32); + pub const Alerts: Self = Self(4i32); + pub const SoundEffects: Self = Self(5i32); + pub const GameEffects: Self = Self(6i32); + pub const GameMedia: Self = Self(7i32); + pub const GameChat: Self = Self(8i32); + pub const Speech: Self = Self(9i32); + pub const Movie: Self = Self(10i32); + pub const Media: Self = Self(11i32); +} +impl ::core::marker::Copy for AudioCategory {} +impl ::core::clone::Clone for AudioCategory { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct AudioDeviceType(pub i32); +impl AudioDeviceType { + pub const Console: Self = Self(0i32); + pub const Multimedia: Self = Self(1i32); + pub const Communications: Self = Self(2i32); +} +impl ::core::marker::Copy for AudioDeviceType {} +impl ::core::clone::Clone for AudioDeviceType { + fn clone(&self) -> Self { + *self + } +} +pub type BezierSegment = *mut ::core::ffi::c_void; +pub type BitmapCache = *mut ::core::ffi::c_void; +pub type Brush = *mut ::core::ffi::c_void; +pub type BrushCollection = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct BrushMappingMode(pub i32); +impl BrushMappingMode { + pub const Absolute: Self = Self(0i32); + pub const RelativeToBoundingBox: Self = Self(1i32); +} +impl ::core::marker::Copy for BrushMappingMode {} +impl ::core::clone::Clone for BrushMappingMode { + fn clone(&self) -> Self { + *self + } +} +pub type CacheMode = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct ColorInterpolationMode(pub i32); +impl ColorInterpolationMode { + pub const ScRgbLinearInterpolation: Self = Self(0i32); + pub const SRgbLinearInterpolation: Self = Self(1i32); +} +impl ::core::marker::Copy for ColorInterpolationMode {} +impl ::core::clone::Clone for ColorInterpolationMode { + fn clone(&self) -> Self { + *self + } +} +pub type CompositeTransform = *mut ::core::ffi::c_void; +pub type CompositionTarget = *mut ::core::ffi::c_void; +pub type DoubleCollection = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct ElementCompositeMode(pub i32); +impl ElementCompositeMode { + pub const Inherit: Self = Self(0i32); + pub const SourceOver: Self = Self(1i32); + pub const MinBlend: Self = Self(2i32); +} +impl ::core::marker::Copy for ElementCompositeMode {} +impl ::core::clone::Clone for ElementCompositeMode { + fn clone(&self) -> Self { + *self + } +} +pub type EllipseGeometry = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct FastPlayFallbackBehaviour(pub i32); +impl FastPlayFallbackBehaviour { + pub const Skip: Self = Self(0i32); + pub const Hide: Self = Self(1i32); + pub const Disable: Self = Self(2i32); +} +impl ::core::marker::Copy for FastPlayFallbackBehaviour {} +impl ::core::clone::Clone for FastPlayFallbackBehaviour { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct FillRule(pub i32); +impl FillRule { + pub const EvenOdd: Self = Self(0i32); + pub const Nonzero: Self = Self(1i32); +} +impl ::core::marker::Copy for FillRule {} +impl ::core::clone::Clone for FillRule { + fn clone(&self) -> Self { + *self + } +} +pub type FontFamily = *mut ::core::ffi::c_void; +pub type GeneralTransform = *mut ::core::ffi::c_void; +pub type Geometry = *mut ::core::ffi::c_void; +pub type GeometryCollection = *mut ::core::ffi::c_void; +pub type GeometryGroup = *mut ::core::ffi::c_void; +pub type GradientBrush = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct GradientSpreadMethod(pub i32); +impl GradientSpreadMethod { + pub const Pad: Self = Self(0i32); + pub const Reflect: Self = Self(1i32); + pub const Repeat: Self = Self(2i32); +} +impl ::core::marker::Copy for GradientSpreadMethod {} +impl ::core::clone::Clone for GradientSpreadMethod { + fn clone(&self) -> Self { + *self + } +} +pub type GradientStop = *mut ::core::ffi::c_void; +pub type GradientStopCollection = *mut ::core::ffi::c_void; +pub type ImageBrush = *mut ::core::ffi::c_void; +pub type ImageSource = *mut ::core::ffi::c_void; +pub type LineGeometry = *mut ::core::ffi::c_void; +pub type LineSegment = *mut ::core::ffi::c_void; +pub type LinearGradientBrush = *mut ::core::ffi::c_void; +pub type LoadedImageSourceLoadCompletedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct LoadedImageSourceLoadStatus(pub i32); +impl LoadedImageSourceLoadStatus { + pub const Success: Self = Self(0i32); + pub const NetworkError: Self = Self(1i32); + pub const InvalidFormat: Self = Self(2i32); + pub const Other: Self = Self(3i32); +} +impl ::core::marker::Copy for LoadedImageSourceLoadStatus {} +impl ::core::clone::Clone for LoadedImageSourceLoadStatus { + fn clone(&self) -> Self { + *self + } +} +pub type LoadedImageSurface = *mut ::core::ffi::c_void; +#[repr(C)] +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +pub struct Matrix { + pub M11: f64, + pub M12: f64, + pub M21: f64, + pub M22: f64, + pub OffsetX: f64, + pub OffsetY: f64, +} +impl ::core::marker::Copy for Matrix {} +impl ::core::clone::Clone for Matrix { + fn clone(&self) -> Self { + *self + } +} +pub type Matrix3DProjection = *mut ::core::ffi::c_void; +pub type MatrixHelper = *mut ::core::ffi::c_void; +pub type MatrixTransform = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct MediaCanPlayResponse(pub i32); +impl MediaCanPlayResponse { + pub const NotSupported: Self = Self(0i32); + pub const Maybe: Self = Self(1i32); + pub const Probably: Self = Self(2i32); +} +impl ::core::marker::Copy for MediaCanPlayResponse {} +impl ::core::clone::Clone for MediaCanPlayResponse { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct MediaElementState(pub i32); +impl MediaElementState { + pub const Closed: Self = Self(0i32); + pub const Opening: Self = Self(1i32); + pub const Buffering: Self = Self(2i32); + pub const Playing: Self = Self(3i32); + pub const Paused: Self = Self(4i32); + pub const Stopped: Self = Self(5i32); +} +impl ::core::marker::Copy for MediaElementState {} +impl ::core::clone::Clone for MediaElementState { + fn clone(&self) -> Self { + *self + } +} +pub type MediaTransportControlsThumbnailRequestedEventArgs = *mut ::core::ffi::c_void; +pub type PartialMediaFailureDetectedEventArgs = *mut ::core::ffi::c_void; +pub type PathFigure = *mut ::core::ffi::c_void; +pub type PathFigureCollection = *mut ::core::ffi::c_void; +pub type PathGeometry = *mut ::core::ffi::c_void; +pub type PathSegment = *mut ::core::ffi::c_void; +pub type PathSegmentCollection = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct PenLineCap(pub i32); +impl PenLineCap { + pub const Flat: Self = Self(0i32); + pub const Square: Self = Self(1i32); + pub const Round: Self = Self(2i32); + pub const Triangle: Self = Self(3i32); +} +impl ::core::marker::Copy for PenLineCap {} +impl ::core::clone::Clone for PenLineCap { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct PenLineJoin(pub i32); +impl PenLineJoin { + pub const Miter: Self = Self(0i32); + pub const Bevel: Self = Self(1i32); + pub const Round: Self = Self(2i32); +} +impl ::core::marker::Copy for PenLineJoin {} +impl ::core::clone::Clone for PenLineJoin { + fn clone(&self) -> Self { + *self + } +} +pub type PlaneProjection = *mut ::core::ffi::c_void; +pub type PointCollection = *mut ::core::ffi::c_void; +pub type PolyBezierSegment = *mut ::core::ffi::c_void; +pub type PolyLineSegment = *mut ::core::ffi::c_void; +pub type PolyQuadraticBezierSegment = *mut ::core::ffi::c_void; +pub type Projection = *mut ::core::ffi::c_void; +pub type QuadraticBezierSegment = *mut ::core::ffi::c_void; +pub type RateChangedRoutedEventArgs = *mut ::core::ffi::c_void; +pub type RateChangedRoutedEventHandler = *mut ::core::ffi::c_void; +pub type RectangleGeometry = *mut ::core::ffi::c_void; +pub type RenderedEventArgs = *mut ::core::ffi::c_void; +pub type RenderingEventArgs = *mut ::core::ffi::c_void; +pub type RevealBackgroundBrush = *mut ::core::ffi::c_void; +pub type RevealBorderBrush = *mut ::core::ffi::c_void; +pub type RevealBrush = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct RevealBrushState(pub i32); +impl RevealBrushState { + pub const Normal: Self = Self(0i32); + pub const PointerOver: Self = Self(1i32); + pub const Pressed: Self = Self(2i32); +} +impl ::core::marker::Copy for RevealBrushState {} +impl ::core::clone::Clone for RevealBrushState { + fn clone(&self) -> Self { + *self + } +} +pub type RotateTransform = *mut ::core::ffi::c_void; +pub type ScaleTransform = *mut ::core::ffi::c_void; +pub type Shadow = *mut ::core::ffi::c_void; +pub type SkewTransform = *mut ::core::ffi::c_void; +pub type SolidColorBrush = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct Stereo3DVideoPackingMode(pub i32); +impl Stereo3DVideoPackingMode { + pub const None: Self = Self(0i32); + pub const SideBySide: Self = Self(1i32); + pub const TopBottom: Self = Self(2i32); +} +impl ::core::marker::Copy for Stereo3DVideoPackingMode {} +impl ::core::clone::Clone for Stereo3DVideoPackingMode { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct Stereo3DVideoRenderMode(pub i32); +impl Stereo3DVideoRenderMode { + pub const Mono: Self = Self(0i32); + pub const Stereo: Self = Self(1i32); +} +impl ::core::marker::Copy for Stereo3DVideoRenderMode {} +impl ::core::clone::Clone for Stereo3DVideoRenderMode { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct Stretch(pub i32); +impl Stretch { + pub const None: Self = Self(0i32); + pub const Fill: Self = Self(1i32); + pub const Uniform: Self = Self(2i32); + pub const UniformToFill: Self = Self(3i32); +} +impl ::core::marker::Copy for Stretch {} +impl ::core::clone::Clone for Stretch { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct StyleSimulations(pub i32); +impl StyleSimulations { + pub const None: Self = Self(0i32); + pub const BoldSimulation: Self = Self(1i32); + pub const ItalicSimulation: Self = Self(2i32); + pub const BoldItalicSimulation: Self = Self(3i32); +} +impl ::core::marker::Copy for StyleSimulations {} +impl ::core::clone::Clone for StyleSimulations { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"UI_Xaml_Media\"`*"] +#[repr(transparent)] +pub struct SweepDirection(pub i32); +impl SweepDirection { + pub const Counterclockwise: Self = Self(0i32); + pub const Clockwise: Self = Self(1i32); +} +impl ::core::marker::Copy for SweepDirection {} +impl ::core::clone::Clone for SweepDirection { + fn clone(&self) -> Self { + *self + } +} +pub type ThemeShadow = *mut ::core::ffi::c_void; +pub type TileBrush = *mut ::core::ffi::c_void; +pub type TimelineMarker = *mut ::core::ffi::c_void; +pub type TimelineMarkerCollection = *mut ::core::ffi::c_void; +pub type TimelineMarkerRoutedEventArgs = *mut ::core::ffi::c_void; +pub type TimelineMarkerRoutedEventHandler = *mut ::core::ffi::c_void; +pub type Transform = *mut ::core::ffi::c_void; +pub type TransformCollection = *mut ::core::ffi::c_void; +pub type TransformGroup = *mut ::core::ffi::c_void; +pub type TranslateTransform = *mut ::core::ffi::c_void; +pub type VisualTreeHelper = *mut ::core::ffi::c_void; +pub type XamlCompositionBrushBase = *mut ::core::ffi::c_void; +pub type XamlLight = *mut ::core::ffi::c_void; |