windows-sys 0.27.0

Rust for Windows
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "Media_AppBroadcasting")]
pub mod AppBroadcasting;
#[cfg(feature = "Media_AppRecording")]
pub mod AppRecording;
#[cfg(feature = "Media_Audio")]
pub mod Audio;
#[cfg(feature = "Media_Capture")]
pub mod Capture;
#[cfg(feature = "Media_Casting")]
pub mod Casting;
#[cfg(feature = "Media_ClosedCaptioning")]
pub mod ClosedCaptioning;
#[cfg(feature = "Media_ContentRestrictions")]
pub mod ContentRestrictions;
#[cfg(feature = "Media_Control")]
pub mod Control;
#[cfg(feature = "Media_Core")]
pub mod Core;
#[cfg(feature = "Media_Devices")]
pub mod Devices;
#[cfg(feature = "Media_DialProtocol")]
pub mod DialProtocol;
#[cfg(feature = "Media_Editing")]
pub mod Editing;
#[cfg(feature = "Media_Effects")]
pub mod Effects;
#[cfg(feature = "Media_FaceAnalysis")]
pub mod FaceAnalysis;
#[cfg(feature = "Media_Import")]
pub mod Import;
#[cfg(feature = "Media_MediaProperties")]
pub mod MediaProperties;
#[cfg(feature = "Media_Miracast")]
pub mod Miracast;
#[cfg(feature = "Media_Ocr")]
pub mod Ocr;
#[cfg(feature = "Media_PlayTo")]
pub mod PlayTo;
#[cfg(feature = "Media_Playback")]
pub mod Playback;
#[cfg(feature = "Media_Playlists")]
pub mod Playlists;
#[cfg(feature = "Media_Protection")]
pub mod Protection;
#[cfg(feature = "Media_Render")]
pub mod Render;
#[cfg(feature = "Media_SpeechRecognition")]
pub mod SpeechRecognition;
#[cfg(feature = "Media_SpeechSynthesis")]
pub mod SpeechSynthesis;
#[cfg(feature = "Media_Streaming")]
pub mod Streaming;
#[cfg(feature = "Media_Transcoding")]
pub mod Transcoding;
#[link(name = "windows")]
extern "system" {}
#[repr(transparent)]
pub struct AudioBuffer(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for AudioBuffer {}
impl ::core::clone::Clone for AudioBuffer {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct AudioBufferAccessMode(pub i32);
impl AudioBufferAccessMode {
    pub const Read: Self = Self(0i32);
    pub const ReadWrite: Self = Self(1i32);
    pub const Write: Self = Self(2i32);
}
impl ::core::marker::Copy for AudioBufferAccessMode {}
impl ::core::clone::Clone for AudioBufferAccessMode {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct AudioFrame(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for AudioFrame {}
impl ::core::clone::Clone for AudioFrame {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct AudioProcessing(pub i32);
impl AudioProcessing {
    pub const Default: Self = Self(0i32);
    pub const Raw: Self = Self(1i32);
}
impl ::core::marker::Copy for AudioProcessing {}
impl ::core::clone::Clone for AudioProcessing {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct AutoRepeatModeChangeRequestedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for AutoRepeatModeChangeRequestedEventArgs {}
impl ::core::clone::Clone for AutoRepeatModeChangeRequestedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAudioBuffer(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAudioBuffer {}
impl ::core::clone::Clone for IAudioBuffer {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAudioFrame(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAudioFrame {}
impl ::core::clone::Clone for IAudioFrame {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAudioFrameFactory(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAudioFrameFactory {}
impl ::core::clone::Clone for IAudioFrameFactory {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAutoRepeatModeChangeRequestedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAutoRepeatModeChangeRequestedEventArgs {}
impl ::core::clone::Clone for IAutoRepeatModeChangeRequestedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IImageDisplayProperties(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IImageDisplayProperties {}
impl ::core::clone::Clone for IImageDisplayProperties {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IMediaControl(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IMediaControl {}
impl ::core::clone::Clone for IMediaControl {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IMediaExtension(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IMediaExtension {}
impl ::core::clone::Clone for IMediaExtension {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IMediaExtensionManager(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IMediaExtensionManager {}
impl ::core::clone::Clone for IMediaExtensionManager {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IMediaExtensionManager2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IMediaExtensionManager2 {}
impl ::core::clone::Clone for IMediaExtensionManager2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IMediaFrame(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IMediaFrame {}
impl ::core::clone::Clone for IMediaFrame {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IMediaMarker(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IMediaMarker {}
impl ::core::clone::Clone for IMediaMarker {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IMediaMarkerTypesStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IMediaMarkerTypesStatics {}
impl ::core::clone::Clone for IMediaMarkerTypesStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IMediaMarkers(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IMediaMarkers {}
impl ::core::clone::Clone for IMediaMarkers {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IMediaProcessingTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IMediaProcessingTriggerDetails {}
impl ::core::clone::Clone for IMediaProcessingTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IMediaTimelineController(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IMediaTimelineController {}
impl ::core::clone::Clone for IMediaTimelineController {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IMediaTimelineController2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IMediaTimelineController2 {}
impl ::core::clone::Clone for IMediaTimelineController2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IMediaTimelineControllerFailedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IMediaTimelineControllerFailedEventArgs {}
impl ::core::clone::Clone for IMediaTimelineControllerFailedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IMusicDisplayProperties(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IMusicDisplayProperties {}
impl ::core::clone::Clone for IMusicDisplayProperties {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IMusicDisplayProperties2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IMusicDisplayProperties2 {}
impl ::core::clone::Clone for IMusicDisplayProperties2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IMusicDisplayProperties3(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IMusicDisplayProperties3 {}
impl ::core::clone::Clone for IMusicDisplayProperties3 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPlaybackPositionChangeRequestedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPlaybackPositionChangeRequestedEventArgs {}
impl ::core::clone::Clone for IPlaybackPositionChangeRequestedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPlaybackRateChangeRequestedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPlaybackRateChangeRequestedEventArgs {}
impl ::core::clone::Clone for IPlaybackRateChangeRequestedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IShuffleEnabledChangeRequestedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IShuffleEnabledChangeRequestedEventArgs {}
impl ::core::clone::Clone for IShuffleEnabledChangeRequestedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ISystemMediaTransportControls(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ISystemMediaTransportControls {}
impl ::core::clone::Clone for ISystemMediaTransportControls {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ISystemMediaTransportControls2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ISystemMediaTransportControls2 {}
impl ::core::clone::Clone for ISystemMediaTransportControls2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ISystemMediaTransportControlsButtonPressedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ISystemMediaTransportControlsButtonPressedEventArgs {}
impl ::core::clone::Clone for ISystemMediaTransportControlsButtonPressedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ISystemMediaTransportControlsDisplayUpdater(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ISystemMediaTransportControlsDisplayUpdater {}
impl ::core::clone::Clone for ISystemMediaTransportControlsDisplayUpdater {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ISystemMediaTransportControlsPropertyChangedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ISystemMediaTransportControlsPropertyChangedEventArgs {}
impl ::core::clone::Clone for ISystemMediaTransportControlsPropertyChangedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ISystemMediaTransportControlsStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ISystemMediaTransportControlsStatics {}
impl ::core::clone::Clone for ISystemMediaTransportControlsStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ISystemMediaTransportControlsTimelineProperties(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ISystemMediaTransportControlsTimelineProperties {}
impl ::core::clone::Clone for ISystemMediaTransportControlsTimelineProperties {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVideoDisplayProperties(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVideoDisplayProperties {}
impl ::core::clone::Clone for IVideoDisplayProperties {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVideoDisplayProperties2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVideoDisplayProperties2 {}
impl ::core::clone::Clone for IVideoDisplayProperties2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVideoEffectsStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVideoEffectsStatics {}
impl ::core::clone::Clone for IVideoEffectsStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVideoFrame(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVideoFrame {}
impl ::core::clone::Clone for IVideoFrame {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVideoFrame2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVideoFrame2 {}
impl ::core::clone::Clone for IVideoFrame2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVideoFrameFactory(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVideoFrameFactory {}
impl ::core::clone::Clone for IVideoFrameFactory {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVideoFrameStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVideoFrameStatics {}
impl ::core::clone::Clone for IVideoFrameStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ImageDisplayProperties(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ImageDisplayProperties {}
impl ::core::clone::Clone for ImageDisplayProperties {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct MediaExtensionManager(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for MediaExtensionManager {}
impl ::core::clone::Clone for MediaExtensionManager {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct MediaPlaybackAutoRepeatMode(pub i32);
impl MediaPlaybackAutoRepeatMode {
    pub const None: Self = Self(0i32);
    pub const Track: Self = Self(1i32);
    pub const List: Self = Self(2i32);
}
impl ::core::marker::Copy for MediaPlaybackAutoRepeatMode {}
impl ::core::clone::Clone for MediaPlaybackAutoRepeatMode {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct MediaPlaybackStatus(pub i32);
impl MediaPlaybackStatus {
    pub const Closed: Self = Self(0i32);
    pub const Changing: Self = Self(1i32);
    pub const Stopped: Self = Self(2i32);
    pub const Playing: Self = Self(3i32);
    pub const Paused: Self = Self(4i32);
}
impl ::core::marker::Copy for MediaPlaybackStatus {}
impl ::core::clone::Clone for MediaPlaybackStatus {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct MediaPlaybackType(pub i32);
impl MediaPlaybackType {
    pub const Unknown: Self = Self(0i32);
    pub const Music: Self = Self(1i32);
    pub const Video: Self = Self(2i32);
    pub const Image: Self = Self(3i32);
}
impl ::core::marker::Copy for MediaPlaybackType {}
impl ::core::clone::Clone for MediaPlaybackType {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct MediaProcessingTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for MediaProcessingTriggerDetails {}
impl ::core::clone::Clone for MediaProcessingTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(C)]
#[cfg(feature = "Foundation")]
pub struct MediaTimeRange {
    pub Start: super::Foundation::TimeSpan,
    pub End: super::Foundation::TimeSpan,
}
#[cfg(feature = "Foundation")]
impl ::core::marker::Copy for MediaTimeRange {}
#[cfg(feature = "Foundation")]
impl ::core::clone::Clone for MediaTimeRange {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct MediaTimelineController(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for MediaTimelineController {}
impl ::core::clone::Clone for MediaTimelineController {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct MediaTimelineControllerFailedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for MediaTimelineControllerFailedEventArgs {}
impl ::core::clone::Clone for MediaTimelineControllerFailedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct MediaTimelineControllerState(pub i32);
impl MediaTimelineControllerState {
    pub const Paused: Self = Self(0i32);
    pub const Running: Self = Self(1i32);
    pub const Stalled: Self = Self(2i32);
    pub const Error: Self = Self(3i32);
}
impl ::core::marker::Copy for MediaTimelineControllerState {}
impl ::core::clone::Clone for MediaTimelineControllerState {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct MusicDisplayProperties(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for MusicDisplayProperties {}
impl ::core::clone::Clone for MusicDisplayProperties {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PlaybackPositionChangeRequestedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PlaybackPositionChangeRequestedEventArgs {}
impl ::core::clone::Clone for PlaybackPositionChangeRequestedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PlaybackRateChangeRequestedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PlaybackRateChangeRequestedEventArgs {}
impl ::core::clone::Clone for PlaybackRateChangeRequestedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ShuffleEnabledChangeRequestedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ShuffleEnabledChangeRequestedEventArgs {}
impl ::core::clone::Clone for ShuffleEnabledChangeRequestedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct SoundLevel(pub i32);
impl SoundLevel {
    pub const Muted: Self = Self(0i32);
    pub const Low: Self = Self(1i32);
    pub const Full: Self = Self(2i32);
}
impl ::core::marker::Copy for SoundLevel {}
impl ::core::clone::Clone for SoundLevel {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct SystemMediaTransportControls(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for SystemMediaTransportControls {}
impl ::core::clone::Clone for SystemMediaTransportControls {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct SystemMediaTransportControlsButton(pub i32);
impl SystemMediaTransportControlsButton {
    pub const Play: Self = Self(0i32);
    pub const Pause: Self = Self(1i32);
    pub const Stop: Self = Self(2i32);
    pub const Record: Self = Self(3i32);
    pub const FastForward: Self = Self(4i32);
    pub const Rewind: Self = Self(5i32);
    pub const Next: Self = Self(6i32);
    pub const Previous: Self = Self(7i32);
    pub const ChannelUp: Self = Self(8i32);
    pub const ChannelDown: Self = Self(9i32);
}
impl ::core::marker::Copy for SystemMediaTransportControlsButton {}
impl ::core::clone::Clone for SystemMediaTransportControlsButton {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct SystemMediaTransportControlsButtonPressedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for SystemMediaTransportControlsButtonPressedEventArgs {}
impl ::core::clone::Clone for SystemMediaTransportControlsButtonPressedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct SystemMediaTransportControlsDisplayUpdater(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for SystemMediaTransportControlsDisplayUpdater {}
impl ::core::clone::Clone for SystemMediaTransportControlsDisplayUpdater {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct SystemMediaTransportControlsProperty(pub i32);
impl SystemMediaTransportControlsProperty {
    pub const SoundLevel: Self = Self(0i32);
}
impl ::core::marker::Copy for SystemMediaTransportControlsProperty {}
impl ::core::clone::Clone for SystemMediaTransportControlsProperty {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct SystemMediaTransportControlsPropertyChangedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for SystemMediaTransportControlsPropertyChangedEventArgs {}
impl ::core::clone::Clone for SystemMediaTransportControlsPropertyChangedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct SystemMediaTransportControlsTimelineProperties(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for SystemMediaTransportControlsTimelineProperties {}
impl ::core::clone::Clone for SystemMediaTransportControlsTimelineProperties {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VideoDisplayProperties(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VideoDisplayProperties {}
impl ::core::clone::Clone for VideoDisplayProperties {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VideoFrame(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VideoFrame {}
impl ::core::clone::Clone for VideoFrame {
    fn clone(&self) -> Self {
        *self
    }
}