]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/UI/Xaml/Media/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / UI / Xaml / Media / mod.rs
CommitLineData
5e7ed085
FG
1#[cfg(feature = "UI_Xaml_Media_Animation")]
2pub mod Animation;
3#[cfg(feature = "UI_Xaml_Media_Imaging")]
4pub mod Imaging;
5#[cfg(feature = "UI_Xaml_Media_Media3D")]
6pub mod Media3D;
04454e1e 7#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
8#[repr(transparent)]
9pub struct AcrylicBackgroundSource(pub i32);
10impl AcrylicBackgroundSource {
11 pub const HostBackdrop: Self = Self(0i32);
12 pub const Backdrop: Self = Self(1i32);
13}
14impl ::core::marker::Copy for AcrylicBackgroundSource {}
15impl ::core::clone::Clone for AcrylicBackgroundSource {
16 fn clone(&self) -> Self {
17 *self
18 }
19}
20pub type AcrylicBrush = *mut ::core::ffi::c_void;
04454e1e 21#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
22#[repr(transparent)]
23pub struct AlignmentX(pub i32);
24impl AlignmentX {
25 pub const Left: Self = Self(0i32);
26 pub const Center: Self = Self(1i32);
27 pub const Right: Self = Self(2i32);
28}
29impl ::core::marker::Copy for AlignmentX {}
30impl ::core::clone::Clone for AlignmentX {
31 fn clone(&self) -> Self {
32 *self
33 }
34}
04454e1e 35#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
36#[repr(transparent)]
37pub struct AlignmentY(pub i32);
38impl AlignmentY {
39 pub const Top: Self = Self(0i32);
40 pub const Center: Self = Self(1i32);
41 pub const Bottom: Self = Self(2i32);
42}
43impl ::core::marker::Copy for AlignmentY {}
44impl ::core::clone::Clone for AlignmentY {
45 fn clone(&self) -> Self {
46 *self
47 }
48}
49pub type ArcSegment = *mut ::core::ffi::c_void;
04454e1e 50#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
51#[repr(transparent)]
52pub struct AudioCategory(pub i32);
53impl AudioCategory {
54 pub const Other: Self = Self(0i32);
55 pub const ForegroundOnlyMedia: Self = Self(1i32);
56 pub const BackgroundCapableMedia: Self = Self(2i32);
57 pub const Communications: Self = Self(3i32);
58 pub const Alerts: Self = Self(4i32);
59 pub const SoundEffects: Self = Self(5i32);
60 pub const GameEffects: Self = Self(6i32);
61 pub const GameMedia: Self = Self(7i32);
62 pub const GameChat: Self = Self(8i32);
63 pub const Speech: Self = Self(9i32);
64 pub const Movie: Self = Self(10i32);
65 pub const Media: Self = Self(11i32);
66}
67impl ::core::marker::Copy for AudioCategory {}
68impl ::core::clone::Clone for AudioCategory {
69 fn clone(&self) -> Self {
70 *self
71 }
72}
04454e1e 73#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
74#[repr(transparent)]
75pub struct AudioDeviceType(pub i32);
76impl AudioDeviceType {
77 pub const Console: Self = Self(0i32);
78 pub const Multimedia: Self = Self(1i32);
79 pub const Communications: Self = Self(2i32);
80}
81impl ::core::marker::Copy for AudioDeviceType {}
82impl ::core::clone::Clone for AudioDeviceType {
83 fn clone(&self) -> Self {
84 *self
85 }
86}
87pub type BezierSegment = *mut ::core::ffi::c_void;
88pub type BitmapCache = *mut ::core::ffi::c_void;
89pub type Brush = *mut ::core::ffi::c_void;
90pub type BrushCollection = *mut ::core::ffi::c_void;
04454e1e 91#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
92#[repr(transparent)]
93pub struct BrushMappingMode(pub i32);
94impl BrushMappingMode {
95 pub const Absolute: Self = Self(0i32);
96 pub const RelativeToBoundingBox: Self = Self(1i32);
97}
98impl ::core::marker::Copy for BrushMappingMode {}
99impl ::core::clone::Clone for BrushMappingMode {
100 fn clone(&self) -> Self {
101 *self
102 }
103}
104pub type CacheMode = *mut ::core::ffi::c_void;
04454e1e 105#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
106#[repr(transparent)]
107pub struct ColorInterpolationMode(pub i32);
108impl ColorInterpolationMode {
109 pub const ScRgbLinearInterpolation: Self = Self(0i32);
110 pub const SRgbLinearInterpolation: Self = Self(1i32);
111}
112impl ::core::marker::Copy for ColorInterpolationMode {}
113impl ::core::clone::Clone for ColorInterpolationMode {
114 fn clone(&self) -> Self {
115 *self
116 }
117}
118pub type CompositeTransform = *mut ::core::ffi::c_void;
119pub type CompositionTarget = *mut ::core::ffi::c_void;
120pub type DoubleCollection = *mut ::core::ffi::c_void;
04454e1e 121#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
122#[repr(transparent)]
123pub struct ElementCompositeMode(pub i32);
124impl ElementCompositeMode {
125 pub const Inherit: Self = Self(0i32);
126 pub const SourceOver: Self = Self(1i32);
127 pub const MinBlend: Self = Self(2i32);
128}
129impl ::core::marker::Copy for ElementCompositeMode {}
130impl ::core::clone::Clone for ElementCompositeMode {
131 fn clone(&self) -> Self {
132 *self
133 }
134}
135pub type EllipseGeometry = *mut ::core::ffi::c_void;
04454e1e 136#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
137#[repr(transparent)]
138pub struct FastPlayFallbackBehaviour(pub i32);
139impl FastPlayFallbackBehaviour {
140 pub const Skip: Self = Self(0i32);
141 pub const Hide: Self = Self(1i32);
142 pub const Disable: Self = Self(2i32);
143}
144impl ::core::marker::Copy for FastPlayFallbackBehaviour {}
145impl ::core::clone::Clone for FastPlayFallbackBehaviour {
146 fn clone(&self) -> Self {
147 *self
148 }
149}
04454e1e 150#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
151#[repr(transparent)]
152pub struct FillRule(pub i32);
153impl FillRule {
154 pub const EvenOdd: Self = Self(0i32);
155 pub const Nonzero: Self = Self(1i32);
156}
157impl ::core::marker::Copy for FillRule {}
158impl ::core::clone::Clone for FillRule {
159 fn clone(&self) -> Self {
160 *self
161 }
162}
163pub type FontFamily = *mut ::core::ffi::c_void;
164pub type GeneralTransform = *mut ::core::ffi::c_void;
165pub type Geometry = *mut ::core::ffi::c_void;
166pub type GeometryCollection = *mut ::core::ffi::c_void;
167pub type GeometryGroup = *mut ::core::ffi::c_void;
168pub type GradientBrush = *mut ::core::ffi::c_void;
04454e1e 169#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
170#[repr(transparent)]
171pub struct GradientSpreadMethod(pub i32);
172impl GradientSpreadMethod {
173 pub const Pad: Self = Self(0i32);
174 pub const Reflect: Self = Self(1i32);
175 pub const Repeat: Self = Self(2i32);
176}
177impl ::core::marker::Copy for GradientSpreadMethod {}
178impl ::core::clone::Clone for GradientSpreadMethod {
179 fn clone(&self) -> Self {
180 *self
181 }
182}
183pub type GradientStop = *mut ::core::ffi::c_void;
184pub type GradientStopCollection = *mut ::core::ffi::c_void;
185pub type ImageBrush = *mut ::core::ffi::c_void;
186pub type ImageSource = *mut ::core::ffi::c_void;
187pub type LineGeometry = *mut ::core::ffi::c_void;
188pub type LineSegment = *mut ::core::ffi::c_void;
189pub type LinearGradientBrush = *mut ::core::ffi::c_void;
190pub type LoadedImageSourceLoadCompletedEventArgs = *mut ::core::ffi::c_void;
04454e1e 191#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
192#[repr(transparent)]
193pub struct LoadedImageSourceLoadStatus(pub i32);
194impl LoadedImageSourceLoadStatus {
195 pub const Success: Self = Self(0i32);
196 pub const NetworkError: Self = Self(1i32);
197 pub const InvalidFormat: Self = Self(2i32);
198 pub const Other: Self = Self(3i32);
199}
200impl ::core::marker::Copy for LoadedImageSourceLoadStatus {}
201impl ::core::clone::Clone for LoadedImageSourceLoadStatus {
202 fn clone(&self) -> Self {
203 *self
204 }
205}
206pub type LoadedImageSurface = *mut ::core::ffi::c_void;
207#[repr(C)]
04454e1e 208#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
209pub struct Matrix {
210 pub M11: f64,
211 pub M12: f64,
212 pub M21: f64,
213 pub M22: f64,
214 pub OffsetX: f64,
215 pub OffsetY: f64,
216}
217impl ::core::marker::Copy for Matrix {}
218impl ::core::clone::Clone for Matrix {
219 fn clone(&self) -> Self {
220 *self
221 }
222}
223pub type Matrix3DProjection = *mut ::core::ffi::c_void;
224pub type MatrixHelper = *mut ::core::ffi::c_void;
225pub type MatrixTransform = *mut ::core::ffi::c_void;
04454e1e 226#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
227#[repr(transparent)]
228pub struct MediaCanPlayResponse(pub i32);
229impl MediaCanPlayResponse {
230 pub const NotSupported: Self = Self(0i32);
231 pub const Maybe: Self = Self(1i32);
232 pub const Probably: Self = Self(2i32);
233}
234impl ::core::marker::Copy for MediaCanPlayResponse {}
235impl ::core::clone::Clone for MediaCanPlayResponse {
236 fn clone(&self) -> Self {
237 *self
238 }
239}
04454e1e 240#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
241#[repr(transparent)]
242pub struct MediaElementState(pub i32);
243impl MediaElementState {
244 pub const Closed: Self = Self(0i32);
245 pub const Opening: Self = Self(1i32);
246 pub const Buffering: Self = Self(2i32);
247 pub const Playing: Self = Self(3i32);
248 pub const Paused: Self = Self(4i32);
249 pub const Stopped: Self = Self(5i32);
250}
251impl ::core::marker::Copy for MediaElementState {}
252impl ::core::clone::Clone for MediaElementState {
253 fn clone(&self) -> Self {
254 *self
255 }
256}
257pub type MediaTransportControlsThumbnailRequestedEventArgs = *mut ::core::ffi::c_void;
258pub type PartialMediaFailureDetectedEventArgs = *mut ::core::ffi::c_void;
259pub type PathFigure = *mut ::core::ffi::c_void;
260pub type PathFigureCollection = *mut ::core::ffi::c_void;
261pub type PathGeometry = *mut ::core::ffi::c_void;
262pub type PathSegment = *mut ::core::ffi::c_void;
263pub type PathSegmentCollection = *mut ::core::ffi::c_void;
04454e1e 264#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
265#[repr(transparent)]
266pub struct PenLineCap(pub i32);
267impl PenLineCap {
268 pub const Flat: Self = Self(0i32);
269 pub const Square: Self = Self(1i32);
270 pub const Round: Self = Self(2i32);
271 pub const Triangle: Self = Self(3i32);
272}
273impl ::core::marker::Copy for PenLineCap {}
274impl ::core::clone::Clone for PenLineCap {
275 fn clone(&self) -> Self {
276 *self
277 }
278}
04454e1e 279#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
280#[repr(transparent)]
281pub struct PenLineJoin(pub i32);
282impl PenLineJoin {
283 pub const Miter: Self = Self(0i32);
284 pub const Bevel: Self = Self(1i32);
285 pub const Round: Self = Self(2i32);
286}
287impl ::core::marker::Copy for PenLineJoin {}
288impl ::core::clone::Clone for PenLineJoin {
289 fn clone(&self) -> Self {
290 *self
291 }
292}
293pub type PlaneProjection = *mut ::core::ffi::c_void;
294pub type PointCollection = *mut ::core::ffi::c_void;
295pub type PolyBezierSegment = *mut ::core::ffi::c_void;
296pub type PolyLineSegment = *mut ::core::ffi::c_void;
297pub type PolyQuadraticBezierSegment = *mut ::core::ffi::c_void;
298pub type Projection = *mut ::core::ffi::c_void;
299pub type QuadraticBezierSegment = *mut ::core::ffi::c_void;
300pub type RateChangedRoutedEventArgs = *mut ::core::ffi::c_void;
301pub type RateChangedRoutedEventHandler = *mut ::core::ffi::c_void;
302pub type RectangleGeometry = *mut ::core::ffi::c_void;
303pub type RenderedEventArgs = *mut ::core::ffi::c_void;
304pub type RenderingEventArgs = *mut ::core::ffi::c_void;
305pub type RevealBackgroundBrush = *mut ::core::ffi::c_void;
306pub type RevealBorderBrush = *mut ::core::ffi::c_void;
307pub type RevealBrush = *mut ::core::ffi::c_void;
04454e1e 308#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
309#[repr(transparent)]
310pub struct RevealBrushState(pub i32);
311impl RevealBrushState {
312 pub const Normal: Self = Self(0i32);
313 pub const PointerOver: Self = Self(1i32);
314 pub const Pressed: Self = Self(2i32);
315}
316impl ::core::marker::Copy for RevealBrushState {}
317impl ::core::clone::Clone for RevealBrushState {
318 fn clone(&self) -> Self {
319 *self
320 }
321}
322pub type RotateTransform = *mut ::core::ffi::c_void;
323pub type ScaleTransform = *mut ::core::ffi::c_void;
324pub type Shadow = *mut ::core::ffi::c_void;
325pub type SkewTransform = *mut ::core::ffi::c_void;
326pub type SolidColorBrush = *mut ::core::ffi::c_void;
04454e1e 327#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
328#[repr(transparent)]
329pub struct Stereo3DVideoPackingMode(pub i32);
330impl Stereo3DVideoPackingMode {
331 pub const None: Self = Self(0i32);
332 pub const SideBySide: Self = Self(1i32);
333 pub const TopBottom: Self = Self(2i32);
334}
335impl ::core::marker::Copy for Stereo3DVideoPackingMode {}
336impl ::core::clone::Clone for Stereo3DVideoPackingMode {
337 fn clone(&self) -> Self {
338 *self
339 }
340}
04454e1e 341#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
342#[repr(transparent)]
343pub struct Stereo3DVideoRenderMode(pub i32);
344impl Stereo3DVideoRenderMode {
345 pub const Mono: Self = Self(0i32);
346 pub const Stereo: Self = Self(1i32);
347}
348impl ::core::marker::Copy for Stereo3DVideoRenderMode {}
349impl ::core::clone::Clone for Stereo3DVideoRenderMode {
350 fn clone(&self) -> Self {
351 *self
352 }
353}
04454e1e 354#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
355#[repr(transparent)]
356pub struct Stretch(pub i32);
357impl Stretch {
358 pub const None: Self = Self(0i32);
359 pub const Fill: Self = Self(1i32);
360 pub const Uniform: Self = Self(2i32);
361 pub const UniformToFill: Self = Self(3i32);
362}
363impl ::core::marker::Copy for Stretch {}
364impl ::core::clone::Clone for Stretch {
365 fn clone(&self) -> Self {
366 *self
367 }
368}
04454e1e 369#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
370#[repr(transparent)]
371pub struct StyleSimulations(pub i32);
372impl StyleSimulations {
373 pub const None: Self = Self(0i32);
374 pub const BoldSimulation: Self = Self(1i32);
375 pub const ItalicSimulation: Self = Self(2i32);
376 pub const BoldItalicSimulation: Self = Self(3i32);
377}
378impl ::core::marker::Copy for StyleSimulations {}
379impl ::core::clone::Clone for StyleSimulations {
380 fn clone(&self) -> Self {
381 *self
382 }
383}
04454e1e 384#[doc = "*Required features: `\"UI_Xaml_Media\"`*"]
5e7ed085
FG
385#[repr(transparent)]
386pub struct SweepDirection(pub i32);
387impl SweepDirection {
388 pub const Counterclockwise: Self = Self(0i32);
389 pub const Clockwise: Self = Self(1i32);
390}
391impl ::core::marker::Copy for SweepDirection {}
392impl ::core::clone::Clone for SweepDirection {
393 fn clone(&self) -> Self {
394 *self
395 }
396}
397pub type ThemeShadow = *mut ::core::ffi::c_void;
398pub type TileBrush = *mut ::core::ffi::c_void;
399pub type TimelineMarker = *mut ::core::ffi::c_void;
400pub type TimelineMarkerCollection = *mut ::core::ffi::c_void;
401pub type TimelineMarkerRoutedEventArgs = *mut ::core::ffi::c_void;
402pub type TimelineMarkerRoutedEventHandler = *mut ::core::ffi::c_void;
403pub type Transform = *mut ::core::ffi::c_void;
404pub type TransformCollection = *mut ::core::ffi::c_void;
405pub type TransformGroup = *mut ::core::ffi::c_void;
406pub type TranslateTransform = *mut ::core::ffi::c_void;
407pub type VisualTreeHelper = *mut ::core::ffi::c_void;
408pub type XamlCompositionBrushBase = *mut ::core::ffi::c_void;
409pub type XamlLight = *mut ::core::ffi::c_void;