]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Media/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Media / mod.rs
1 #[cfg(feature = "Media_AppBroadcasting")]
2 pub mod AppBroadcasting;
3 #[cfg(feature = "Media_AppRecording")]
4 pub mod AppRecording;
5 #[cfg(feature = "Media_Audio")]
6 pub mod Audio;
7 #[cfg(feature = "Media_Capture")]
8 pub mod Capture;
9 #[cfg(feature = "Media_Casting")]
10 pub mod Casting;
11 #[cfg(feature = "Media_ClosedCaptioning")]
12 pub mod ClosedCaptioning;
13 #[cfg(feature = "Media_ContentRestrictions")]
14 pub mod ContentRestrictions;
15 #[cfg(feature = "Media_Control")]
16 pub mod Control;
17 #[cfg(feature = "Media_Core")]
18 pub mod Core;
19 #[cfg(feature = "Media_Devices")]
20 pub mod Devices;
21 #[cfg(feature = "Media_DialProtocol")]
22 pub mod DialProtocol;
23 #[cfg(feature = "Media_Editing")]
24 pub mod Editing;
25 #[cfg(feature = "Media_Effects")]
26 pub mod Effects;
27 #[cfg(feature = "Media_FaceAnalysis")]
28 pub mod FaceAnalysis;
29 #[cfg(feature = "Media_Import")]
30 pub mod Import;
31 #[cfg(feature = "Media_MediaProperties")]
32 pub mod MediaProperties;
33 #[cfg(feature = "Media_Miracast")]
34 pub mod Miracast;
35 #[cfg(feature = "Media_Ocr")]
36 pub mod Ocr;
37 #[cfg(feature = "Media_PlayTo")]
38 pub mod PlayTo;
39 #[cfg(feature = "Media_Playback")]
40 pub mod Playback;
41 #[cfg(feature = "Media_Playlists")]
42 pub mod Playlists;
43 #[cfg(feature = "Media_Protection")]
44 pub mod Protection;
45 #[cfg(feature = "Media_Render")]
46 pub mod Render;
47 #[cfg(feature = "Media_SpeechRecognition")]
48 pub mod SpeechRecognition;
49 #[cfg(feature = "Media_SpeechSynthesis")]
50 pub mod SpeechSynthesis;
51 #[cfg(feature = "Media_Streaming")]
52 pub mod Streaming;
53 #[cfg(feature = "Media_Transcoding")]
54 pub mod Transcoding;
55 pub type AudioBuffer = *mut ::core::ffi::c_void;
56 #[doc = "*Required features: `\"Media\"`*"]
57 #[repr(transparent)]
58 pub struct AudioBufferAccessMode(pub i32);
59 impl AudioBufferAccessMode {
60 pub const Read: Self = Self(0i32);
61 pub const ReadWrite: Self = Self(1i32);
62 pub const Write: Self = Self(2i32);
63 }
64 impl ::core::marker::Copy for AudioBufferAccessMode {}
65 impl ::core::clone::Clone for AudioBufferAccessMode {
66 fn clone(&self) -> Self {
67 *self
68 }
69 }
70 pub type AudioFrame = *mut ::core::ffi::c_void;
71 #[doc = "*Required features: `\"Media\"`*"]
72 #[repr(transparent)]
73 pub struct AudioProcessing(pub i32);
74 impl AudioProcessing {
75 pub const Default: Self = Self(0i32);
76 pub const Raw: Self = Self(1i32);
77 }
78 impl ::core::marker::Copy for AudioProcessing {}
79 impl ::core::clone::Clone for AudioProcessing {
80 fn clone(&self) -> Self {
81 *self
82 }
83 }
84 pub type AutoRepeatModeChangeRequestedEventArgs = *mut ::core::ffi::c_void;
85 pub type IMediaExtension = *mut ::core::ffi::c_void;
86 pub type IMediaFrame = *mut ::core::ffi::c_void;
87 pub type IMediaMarker = *mut ::core::ffi::c_void;
88 pub type IMediaMarkers = *mut ::core::ffi::c_void;
89 pub type ImageDisplayProperties = *mut ::core::ffi::c_void;
90 pub type MediaExtensionManager = *mut ::core::ffi::c_void;
91 #[doc = "*Required features: `\"Media\"`*"]
92 #[repr(transparent)]
93 pub struct MediaPlaybackAutoRepeatMode(pub i32);
94 impl MediaPlaybackAutoRepeatMode {
95 pub const None: Self = Self(0i32);
96 pub const Track: Self = Self(1i32);
97 pub const List: Self = Self(2i32);
98 }
99 impl ::core::marker::Copy for MediaPlaybackAutoRepeatMode {}
100 impl ::core::clone::Clone for MediaPlaybackAutoRepeatMode {
101 fn clone(&self) -> Self {
102 *self
103 }
104 }
105 #[doc = "*Required features: `\"Media\"`*"]
106 #[repr(transparent)]
107 pub struct MediaPlaybackStatus(pub i32);
108 impl MediaPlaybackStatus {
109 pub const Closed: Self = Self(0i32);
110 pub const Changing: Self = Self(1i32);
111 pub const Stopped: Self = Self(2i32);
112 pub const Playing: Self = Self(3i32);
113 pub const Paused: Self = Self(4i32);
114 }
115 impl ::core::marker::Copy for MediaPlaybackStatus {}
116 impl ::core::clone::Clone for MediaPlaybackStatus {
117 fn clone(&self) -> Self {
118 *self
119 }
120 }
121 #[doc = "*Required features: `\"Media\"`*"]
122 #[repr(transparent)]
123 pub struct MediaPlaybackType(pub i32);
124 impl MediaPlaybackType {
125 pub const Unknown: Self = Self(0i32);
126 pub const Music: Self = Self(1i32);
127 pub const Video: Self = Self(2i32);
128 pub const Image: Self = Self(3i32);
129 }
130 impl ::core::marker::Copy for MediaPlaybackType {}
131 impl ::core::clone::Clone for MediaPlaybackType {
132 fn clone(&self) -> Self {
133 *self
134 }
135 }
136 pub type MediaProcessingTriggerDetails = *mut ::core::ffi::c_void;
137 #[repr(C)]
138 #[doc = "*Required features: `\"Media\"`, `\"Foundation\"`*"]
139 #[cfg(feature = "Foundation")]
140 pub struct MediaTimeRange {
141 pub Start: super::Foundation::TimeSpan,
142 pub End: super::Foundation::TimeSpan,
143 }
144 #[cfg(feature = "Foundation")]
145 impl ::core::marker::Copy for MediaTimeRange {}
146 #[cfg(feature = "Foundation")]
147 impl ::core::clone::Clone for MediaTimeRange {
148 fn clone(&self) -> Self {
149 *self
150 }
151 }
152 pub type MediaTimelineController = *mut ::core::ffi::c_void;
153 pub type MediaTimelineControllerFailedEventArgs = *mut ::core::ffi::c_void;
154 #[doc = "*Required features: `\"Media\"`*"]
155 #[repr(transparent)]
156 pub struct MediaTimelineControllerState(pub i32);
157 impl MediaTimelineControllerState {
158 pub const Paused: Self = Self(0i32);
159 pub const Running: Self = Self(1i32);
160 pub const Stalled: Self = Self(2i32);
161 pub const Error: Self = Self(3i32);
162 }
163 impl ::core::marker::Copy for MediaTimelineControllerState {}
164 impl ::core::clone::Clone for MediaTimelineControllerState {
165 fn clone(&self) -> Self {
166 *self
167 }
168 }
169 pub type MusicDisplayProperties = *mut ::core::ffi::c_void;
170 pub type PlaybackPositionChangeRequestedEventArgs = *mut ::core::ffi::c_void;
171 pub type PlaybackRateChangeRequestedEventArgs = *mut ::core::ffi::c_void;
172 pub type ShuffleEnabledChangeRequestedEventArgs = *mut ::core::ffi::c_void;
173 #[doc = "*Required features: `\"Media\"`*"]
174 #[repr(transparent)]
175 pub struct SoundLevel(pub i32);
176 impl SoundLevel {
177 pub const Muted: Self = Self(0i32);
178 pub const Low: Self = Self(1i32);
179 pub const Full: Self = Self(2i32);
180 }
181 impl ::core::marker::Copy for SoundLevel {}
182 impl ::core::clone::Clone for SoundLevel {
183 fn clone(&self) -> Self {
184 *self
185 }
186 }
187 pub type SystemMediaTransportControls = *mut ::core::ffi::c_void;
188 #[doc = "*Required features: `\"Media\"`*"]
189 #[repr(transparent)]
190 pub struct SystemMediaTransportControlsButton(pub i32);
191 impl SystemMediaTransportControlsButton {
192 pub const Play: Self = Self(0i32);
193 pub const Pause: Self = Self(1i32);
194 pub const Stop: Self = Self(2i32);
195 pub const Record: Self = Self(3i32);
196 pub const FastForward: Self = Self(4i32);
197 pub const Rewind: Self = Self(5i32);
198 pub const Next: Self = Self(6i32);
199 pub const Previous: Self = Self(7i32);
200 pub const ChannelUp: Self = Self(8i32);
201 pub const ChannelDown: Self = Self(9i32);
202 }
203 impl ::core::marker::Copy for SystemMediaTransportControlsButton {}
204 impl ::core::clone::Clone for SystemMediaTransportControlsButton {
205 fn clone(&self) -> Self {
206 *self
207 }
208 }
209 pub type SystemMediaTransportControlsButtonPressedEventArgs = *mut ::core::ffi::c_void;
210 pub type SystemMediaTransportControlsDisplayUpdater = *mut ::core::ffi::c_void;
211 #[doc = "*Required features: `\"Media\"`*"]
212 #[repr(transparent)]
213 pub struct SystemMediaTransportControlsProperty(pub i32);
214 impl SystemMediaTransportControlsProperty {
215 pub const SoundLevel: Self = Self(0i32);
216 }
217 impl ::core::marker::Copy for SystemMediaTransportControlsProperty {}
218 impl ::core::clone::Clone for SystemMediaTransportControlsProperty {
219 fn clone(&self) -> Self {
220 *self
221 }
222 }
223 pub type SystemMediaTransportControlsPropertyChangedEventArgs = *mut ::core::ffi::c_void;
224 pub type SystemMediaTransportControlsTimelineProperties = *mut ::core::ffi::c_void;
225 pub type VideoDisplayProperties = *mut ::core::ffi::c_void;
226 pub type VideoFrame = *mut ::core::ffi::c_void;