1 #[cfg(feature = "Media_AppBroadcasting")]
2 pub mod AppBroadcasting
;
3 #[cfg(feature = "Media_AppRecording")]
5 #[cfg(feature = "Media_Audio")]
7 #[cfg(feature = "Media_Capture")]
9 #[cfg(feature = "Media_Casting")]
11 #[cfg(feature = "Media_ClosedCaptioning")]
12 pub mod ClosedCaptioning
;
13 #[cfg(feature = "Media_ContentRestrictions")]
14 pub mod ContentRestrictions
;
15 #[cfg(feature = "Media_Control")]
17 #[cfg(feature = "Media_Core")]
19 #[cfg(feature = "Media_Devices")]
21 #[cfg(feature = "Media_DialProtocol")]
23 #[cfg(feature = "Media_Editing")]
25 #[cfg(feature = "Media_Effects")]
27 #[cfg(feature = "Media_FaceAnalysis")]
29 #[cfg(feature = "Media_Import")]
31 #[cfg(feature = "Media_MediaProperties")]
32 pub mod MediaProperties
;
33 #[cfg(feature = "Media_Miracast")]
35 #[cfg(feature = "Media_Ocr")]
37 #[cfg(feature = "Media_PlayTo")]
39 #[cfg(feature = "Media_Playback")]
41 #[cfg(feature = "Media_Playlists")]
43 #[cfg(feature = "Media_Protection")]
45 #[cfg(feature = "Media_Render")]
47 #[cfg(feature = "Media_SpeechRecognition")]
48 pub mod SpeechRecognition
;
49 #[cfg(feature = "Media_SpeechSynthesis")]
50 pub mod SpeechSynthesis
;
51 #[cfg(feature = "Media_Streaming")]
53 #[cfg(feature = "Media_Transcoding")]
55 pub type AudioBuffer
= *mut ::core
::ffi
::c_void
;
56 #[doc = "*Required features: `\"Media\"`*"]
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);
64 impl ::core
::marker
::Copy
for AudioBufferAccessMode {}
65 impl ::core
::clone
::Clone
for AudioBufferAccessMode
{
66 fn clone(&self) -> Self {
70 pub type AudioFrame
= *mut ::core
::ffi
::c_void
;
71 #[doc = "*Required features: `\"Media\"`*"]
73 pub struct AudioProcessing(pub i32);
74 impl AudioProcessing
{
75 pub const Default
: Self = Self(0i32);
76 pub const Raw
: Self = Self(1i32);
78 impl ::core
::marker
::Copy
for AudioProcessing {}
79 impl ::core
::clone
::Clone
for AudioProcessing
{
80 fn clone(&self) -> Self {
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\"`*"]
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);
99 impl ::core
::marker
::Copy
for MediaPlaybackAutoRepeatMode {}
100 impl ::core
::clone
::Clone
for MediaPlaybackAutoRepeatMode
{
101 fn clone(&self) -> Self {
105 #[doc = "*Required features: `\"Media\"`*"]
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);
115 impl ::core
::marker
::Copy
for MediaPlaybackStatus {}
116 impl ::core
::clone
::Clone
for MediaPlaybackStatus
{
117 fn clone(&self) -> Self {
121 #[doc = "*Required features: `\"Media\"`*"]
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);
130 impl ::core
::marker
::Copy
for MediaPlaybackType {}
131 impl ::core
::clone
::Clone
for MediaPlaybackType
{
132 fn clone(&self) -> Self {
136 pub type MediaProcessingTriggerDetails
= *mut ::core
::ffi
::c_void
;
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
,
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 {
152 pub type MediaTimelineController
= *mut ::core
::ffi
::c_void
;
153 pub type MediaTimelineControllerFailedEventArgs
= *mut ::core
::ffi
::c_void
;
154 #[doc = "*Required features: `\"Media\"`*"]
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);
163 impl ::core
::marker
::Copy
for MediaTimelineControllerState {}
164 impl ::core
::clone
::Clone
for MediaTimelineControllerState
{
165 fn clone(&self) -> Self {
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\"`*"]
175 pub struct SoundLevel(pub i32);
177 pub const Muted
: Self = Self(0i32);
178 pub const Low
: Self = Self(1i32);
179 pub const Full
: Self = Self(2i32);
181 impl ::core
::marker
::Copy
for SoundLevel {}
182 impl ::core
::clone
::Clone
for SoundLevel
{
183 fn clone(&self) -> Self {
187 pub type SystemMediaTransportControls
= *mut ::core
::ffi
::c_void
;
188 #[doc = "*Required features: `\"Media\"`*"]
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);
203 impl ::core
::marker
::Copy
for SystemMediaTransportControlsButton {}
204 impl ::core
::clone
::Clone
for SystemMediaTransportControlsButton
{
205 fn clone(&self) -> Self {
209 pub type SystemMediaTransportControlsButtonPressedEventArgs
= *mut ::core
::ffi
::c_void
;
210 pub type SystemMediaTransportControlsDisplayUpdater
= *mut ::core
::ffi
::c_void
;
211 #[doc = "*Required features: `\"Media\"`*"]
213 pub struct SystemMediaTransportControlsProperty(pub i32);
214 impl SystemMediaTransportControlsProperty
{
215 pub const SoundLevel
: Self = Self(0i32);
217 impl ::core
::marker
::Copy
for SystemMediaTransportControlsProperty {}
218 impl ::core
::clone
::Clone
for SystemMediaTransportControlsProperty
{
219 fn clone(&self) -> Self {
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
;