]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | #[cfg(feature = "Media_Capture_Core")] |
2 | pub mod Core; | |
3 | #[cfg(feature = "Media_Capture_Frames")] | |
4 | pub mod Frames; | |
5 | pub type AdvancedCapturedPhoto = *mut ::core::ffi::c_void; | |
6 | pub type AdvancedPhotoCapture = *mut ::core::ffi::c_void; | |
7 | pub type AppBroadcastBackgroundService = *mut ::core::ffi::c_void; | |
8 | pub type AppBroadcastBackgroundServiceSignInInfo = *mut ::core::ffi::c_void; | |
9 | pub type AppBroadcastBackgroundServiceStreamInfo = *mut ::core::ffi::c_void; | |
04454e1e | 10 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
11 | #[repr(transparent)] |
12 | pub struct AppBroadcastCameraCaptureState(pub i32); | |
13 | impl AppBroadcastCameraCaptureState { | |
14 | pub const Stopped: Self = Self(0i32); | |
15 | pub const Started: Self = Self(1i32); | |
16 | pub const Failed: Self = Self(2i32); | |
17 | } | |
18 | impl ::core::marker::Copy for AppBroadcastCameraCaptureState {} | |
19 | impl ::core::clone::Clone for AppBroadcastCameraCaptureState { | |
20 | fn clone(&self) -> Self { | |
21 | *self | |
22 | } | |
23 | } | |
24 | pub type AppBroadcastCameraCaptureStateChangedEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 25 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
26 | #[repr(transparent)] |
27 | pub struct AppBroadcastCameraOverlayLocation(pub i32); | |
28 | impl AppBroadcastCameraOverlayLocation { | |
29 | pub const TopLeft: Self = Self(0i32); | |
30 | pub const TopCenter: Self = Self(1i32); | |
31 | pub const TopRight: Self = Self(2i32); | |
32 | pub const MiddleLeft: Self = Self(3i32); | |
33 | pub const MiddleCenter: Self = Self(4i32); | |
34 | pub const MiddleRight: Self = Self(5i32); | |
35 | pub const BottomLeft: Self = Self(6i32); | |
36 | pub const BottomCenter: Self = Self(7i32); | |
37 | pub const BottomRight: Self = Self(8i32); | |
38 | } | |
39 | impl ::core::marker::Copy for AppBroadcastCameraOverlayLocation {} | |
40 | impl ::core::clone::Clone for AppBroadcastCameraOverlayLocation { | |
41 | fn clone(&self) -> Self { | |
42 | *self | |
43 | } | |
44 | } | |
04454e1e | 45 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
46 | #[repr(transparent)] |
47 | pub struct AppBroadcastCameraOverlaySize(pub i32); | |
48 | impl AppBroadcastCameraOverlaySize { | |
49 | pub const Small: Self = Self(0i32); | |
50 | pub const Medium: Self = Self(1i32); | |
51 | pub const Large: Self = Self(2i32); | |
52 | } | |
53 | impl ::core::marker::Copy for AppBroadcastCameraOverlaySize {} | |
54 | impl ::core::clone::Clone for AppBroadcastCameraOverlaySize { | |
55 | fn clone(&self) -> Self { | |
56 | *self | |
57 | } | |
58 | } | |
04454e1e | 59 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
60 | #[repr(transparent)] |
61 | pub struct AppBroadcastCaptureTargetType(pub i32); | |
62 | impl AppBroadcastCaptureTargetType { | |
63 | pub const AppView: Self = Self(0i32); | |
64 | pub const EntireDisplay: Self = Self(1i32); | |
65 | } | |
66 | impl ::core::marker::Copy for AppBroadcastCaptureTargetType {} | |
67 | impl ::core::clone::Clone for AppBroadcastCaptureTargetType { | |
68 | fn clone(&self) -> Self { | |
69 | *self | |
70 | } | |
71 | } | |
04454e1e | 72 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
73 | #[repr(transparent)] |
74 | pub struct AppBroadcastExitBroadcastModeReason(pub i32); | |
75 | impl AppBroadcastExitBroadcastModeReason { | |
76 | pub const NormalExit: Self = Self(0i32); | |
77 | pub const UserCanceled: Self = Self(1i32); | |
78 | pub const AuthorizationFail: Self = Self(2i32); | |
79 | pub const ForegroundAppActivated: Self = Self(3i32); | |
80 | } | |
81 | impl ::core::marker::Copy for AppBroadcastExitBroadcastModeReason {} | |
82 | impl ::core::clone::Clone for AppBroadcastExitBroadcastModeReason { | |
83 | fn clone(&self) -> Self { | |
84 | *self | |
85 | } | |
86 | } | |
87 | pub type AppBroadcastGlobalSettings = *mut ::core::ffi::c_void; | |
88 | pub type AppBroadcastHeartbeatRequestedEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 89 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
90 | #[repr(transparent)] |
91 | pub struct AppBroadcastMicrophoneCaptureState(pub i32); | |
92 | impl AppBroadcastMicrophoneCaptureState { | |
93 | pub const Stopped: Self = Self(0i32); | |
94 | pub const Started: Self = Self(1i32); | |
95 | pub const Failed: Self = Self(2i32); | |
96 | } | |
97 | impl ::core::marker::Copy for AppBroadcastMicrophoneCaptureState {} | |
98 | impl ::core::clone::Clone for AppBroadcastMicrophoneCaptureState { | |
99 | fn clone(&self) -> Self { | |
100 | *self | |
101 | } | |
102 | } | |
103 | pub type AppBroadcastMicrophoneCaptureStateChangedEventArgs = *mut ::core::ffi::c_void; | |
104 | pub type AppBroadcastPlugIn = *mut ::core::ffi::c_void; | |
105 | pub type AppBroadcastPlugInManager = *mut ::core::ffi::c_void; | |
04454e1e | 106 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
107 | #[repr(transparent)] |
108 | pub struct AppBroadcastPlugInState(pub i32); | |
109 | impl AppBroadcastPlugInState { | |
110 | pub const Unknown: Self = Self(0i32); | |
111 | pub const Initialized: Self = Self(1i32); | |
112 | pub const MicrosoftSignInRequired: Self = Self(2i32); | |
113 | pub const OAuthSignInRequired: Self = Self(3i32); | |
114 | pub const ProviderSignInRequired: Self = Self(4i32); | |
115 | pub const InBandwidthTest: Self = Self(5i32); | |
116 | pub const ReadyToBroadcast: Self = Self(6i32); | |
117 | } | |
118 | impl ::core::marker::Copy for AppBroadcastPlugInState {} | |
119 | impl ::core::clone::Clone for AppBroadcastPlugInState { | |
120 | fn clone(&self) -> Self { | |
121 | *self | |
122 | } | |
123 | } | |
124 | pub type AppBroadcastPlugInStateChangedEventArgs = *mut ::core::ffi::c_void; | |
125 | pub type AppBroadcastPreview = *mut ::core::ffi::c_void; | |
04454e1e | 126 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
127 | #[repr(transparent)] |
128 | pub struct AppBroadcastPreviewState(pub i32); | |
129 | impl AppBroadcastPreviewState { | |
130 | pub const Started: Self = Self(0i32); | |
131 | pub const Stopped: Self = Self(1i32); | |
132 | pub const Failed: Self = Self(2i32); | |
133 | } | |
134 | impl ::core::marker::Copy for AppBroadcastPreviewState {} | |
135 | impl ::core::clone::Clone for AppBroadcastPreviewState { | |
136 | fn clone(&self) -> Self { | |
137 | *self | |
138 | } | |
139 | } | |
140 | pub type AppBroadcastPreviewStateChangedEventArgs = *mut ::core::ffi::c_void; | |
141 | pub type AppBroadcastPreviewStreamReader = *mut ::core::ffi::c_void; | |
142 | pub type AppBroadcastPreviewStreamVideoFrame = *mut ::core::ffi::c_void; | |
143 | pub type AppBroadcastPreviewStreamVideoHeader = *mut ::core::ffi::c_void; | |
144 | pub type AppBroadcastProviderSettings = *mut ::core::ffi::c_void; | |
145 | pub type AppBroadcastServices = *mut ::core::ffi::c_void; | |
04454e1e | 146 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
147 | #[repr(transparent)] |
148 | pub struct AppBroadcastSignInResult(pub i32); | |
149 | impl AppBroadcastSignInResult { | |
150 | pub const Success: Self = Self(0i32); | |
151 | pub const AuthenticationFailed: Self = Self(1i32); | |
152 | pub const Unauthorized: Self = Self(2i32); | |
153 | pub const ServiceUnavailable: Self = Self(3i32); | |
154 | pub const Unknown: Self = Self(4i32); | |
155 | } | |
156 | impl ::core::marker::Copy for AppBroadcastSignInResult {} | |
157 | impl ::core::clone::Clone for AppBroadcastSignInResult { | |
158 | fn clone(&self) -> Self { | |
159 | *self | |
160 | } | |
161 | } | |
04454e1e | 162 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
163 | #[repr(transparent)] |
164 | pub struct AppBroadcastSignInState(pub i32); | |
165 | impl AppBroadcastSignInState { | |
166 | pub const NotSignedIn: Self = Self(0i32); | |
167 | pub const MicrosoftSignInInProgress: Self = Self(1i32); | |
168 | pub const MicrosoftSignInComplete: Self = Self(2i32); | |
169 | pub const OAuthSignInInProgress: Self = Self(3i32); | |
170 | pub const OAuthSignInComplete: Self = Self(4i32); | |
171 | } | |
172 | impl ::core::marker::Copy for AppBroadcastSignInState {} | |
173 | impl ::core::clone::Clone for AppBroadcastSignInState { | |
174 | fn clone(&self) -> Self { | |
175 | *self | |
176 | } | |
177 | } | |
178 | pub type AppBroadcastSignInStateChangedEventArgs = *mut ::core::ffi::c_void; | |
179 | pub type AppBroadcastState = *mut ::core::ffi::c_void; | |
180 | pub type AppBroadcastStreamAudioFrame = *mut ::core::ffi::c_void; | |
181 | pub type AppBroadcastStreamAudioHeader = *mut ::core::ffi::c_void; | |
182 | pub type AppBroadcastStreamReader = *mut ::core::ffi::c_void; | |
04454e1e | 183 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
184 | #[repr(transparent)] |
185 | pub struct AppBroadcastStreamState(pub i32); | |
186 | impl AppBroadcastStreamState { | |
187 | pub const Initializing: Self = Self(0i32); | |
188 | pub const StreamReady: Self = Self(1i32); | |
189 | pub const Started: Self = Self(2i32); | |
190 | pub const Paused: Self = Self(3i32); | |
191 | pub const Terminated: Self = Self(4i32); | |
192 | } | |
193 | impl ::core::marker::Copy for AppBroadcastStreamState {} | |
194 | impl ::core::clone::Clone for AppBroadcastStreamState { | |
195 | fn clone(&self) -> Self { | |
196 | *self | |
197 | } | |
198 | } | |
199 | pub type AppBroadcastStreamStateChangedEventArgs = *mut ::core::ffi::c_void; | |
200 | pub type AppBroadcastStreamVideoFrame = *mut ::core::ffi::c_void; | |
201 | pub type AppBroadcastStreamVideoHeader = *mut ::core::ffi::c_void; | |
04454e1e | 202 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
203 | #[repr(transparent)] |
204 | pub struct AppBroadcastTerminationReason(pub i32); | |
205 | impl AppBroadcastTerminationReason { | |
206 | pub const NormalTermination: Self = Self(0i32); | |
207 | pub const LostConnectionToService: Self = Self(1i32); | |
208 | pub const NoNetworkConnectivity: Self = Self(2i32); | |
209 | pub const ServiceAbort: Self = Self(3i32); | |
210 | pub const ServiceError: Self = Self(4i32); | |
211 | pub const ServiceUnavailable: Self = Self(5i32); | |
212 | pub const InternalError: Self = Self(6i32); | |
213 | pub const UnsupportedFormat: Self = Self(7i32); | |
214 | pub const BackgroundTaskTerminated: Self = Self(8i32); | |
215 | pub const BackgroundTaskUnresponsive: Self = Self(9i32); | |
216 | } | |
217 | impl ::core::marker::Copy for AppBroadcastTerminationReason {} | |
218 | impl ::core::clone::Clone for AppBroadcastTerminationReason { | |
219 | fn clone(&self) -> Self { | |
220 | *self | |
221 | } | |
222 | } | |
223 | pub type AppBroadcastTriggerDetails = *mut ::core::ffi::c_void; | |
04454e1e | 224 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
225 | #[repr(transparent)] |
226 | pub struct AppBroadcastVideoEncodingBitrateMode(pub i32); | |
227 | impl AppBroadcastVideoEncodingBitrateMode { | |
228 | pub const Custom: Self = Self(0i32); | |
229 | pub const Auto: Self = Self(1i32); | |
230 | } | |
231 | impl ::core::marker::Copy for AppBroadcastVideoEncodingBitrateMode {} | |
232 | impl ::core::clone::Clone for AppBroadcastVideoEncodingBitrateMode { | |
233 | fn clone(&self) -> Self { | |
234 | *self | |
235 | } | |
236 | } | |
04454e1e | 237 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
238 | #[repr(transparent)] |
239 | pub struct AppBroadcastVideoEncodingResolutionMode(pub i32); | |
240 | impl AppBroadcastVideoEncodingResolutionMode { | |
241 | pub const Custom: Self = Self(0i32); | |
242 | pub const Auto: Self = Self(1i32); | |
243 | } | |
244 | impl ::core::marker::Copy for AppBroadcastVideoEncodingResolutionMode {} | |
245 | impl ::core::clone::Clone for AppBroadcastVideoEncodingResolutionMode { | |
246 | fn clone(&self) -> Self { | |
247 | *self | |
248 | } | |
249 | } | |
250 | pub type AppBroadcastViewerCountChangedEventArgs = *mut ::core::ffi::c_void; | |
251 | pub type AppCapture = *mut ::core::ffi::c_void; | |
252 | pub type AppCaptureAlternateShortcutKeys = *mut ::core::ffi::c_void; | |
253 | pub type AppCaptureDurationGeneratedEventArgs = *mut ::core::ffi::c_void; | |
254 | pub type AppCaptureFileGeneratedEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 255 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
256 | #[repr(transparent)] |
257 | pub struct AppCaptureHistoricalBufferLengthUnit(pub i32); | |
258 | impl AppCaptureHistoricalBufferLengthUnit { | |
259 | pub const Megabytes: Self = Self(0i32); | |
260 | pub const Seconds: Self = Self(1i32); | |
261 | } | |
262 | impl ::core::marker::Copy for AppCaptureHistoricalBufferLengthUnit {} | |
263 | impl ::core::clone::Clone for AppCaptureHistoricalBufferLengthUnit { | |
264 | fn clone(&self) -> Self { | |
265 | *self | |
266 | } | |
267 | } | |
04454e1e | 268 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
269 | #[repr(transparent)] |
270 | pub struct AppCaptureMetadataPriority(pub i32); | |
271 | impl AppCaptureMetadataPriority { | |
272 | pub const Informational: Self = Self(0i32); | |
273 | pub const Important: Self = Self(1i32); | |
274 | } | |
275 | impl ::core::marker::Copy for AppCaptureMetadataPriority {} | |
276 | impl ::core::clone::Clone for AppCaptureMetadataPriority { | |
277 | fn clone(&self) -> Self { | |
278 | *self | |
279 | } | |
280 | } | |
281 | pub type AppCaptureMetadataWriter = *mut ::core::ffi::c_void; | |
04454e1e | 282 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
283 | #[repr(transparent)] |
284 | pub struct AppCaptureMicrophoneCaptureState(pub i32); | |
285 | impl AppCaptureMicrophoneCaptureState { | |
286 | pub const Stopped: Self = Self(0i32); | |
287 | pub const Started: Self = Self(1i32); | |
288 | pub const Failed: Self = Self(2i32); | |
289 | } | |
290 | impl ::core::marker::Copy for AppCaptureMicrophoneCaptureState {} | |
291 | impl ::core::clone::Clone for AppCaptureMicrophoneCaptureState { | |
292 | fn clone(&self) -> Self { | |
293 | *self | |
294 | } | |
295 | } | |
296 | pub type AppCaptureMicrophoneCaptureStateChangedEventArgs = *mut ::core::ffi::c_void; | |
297 | pub type AppCaptureRecordOperation = *mut ::core::ffi::c_void; | |
04454e1e | 298 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
299 | #[repr(transparent)] |
300 | pub struct AppCaptureRecordingState(pub i32); | |
301 | impl AppCaptureRecordingState { | |
302 | pub const InProgress: Self = Self(0i32); | |
303 | pub const Completed: Self = Self(1i32); | |
304 | pub const Failed: Self = Self(2i32); | |
305 | } | |
306 | impl ::core::marker::Copy for AppCaptureRecordingState {} | |
307 | impl ::core::clone::Clone for AppCaptureRecordingState { | |
308 | fn clone(&self) -> Self { | |
309 | *self | |
310 | } | |
311 | } | |
312 | pub type AppCaptureRecordingStateChangedEventArgs = *mut ::core::ffi::c_void; | |
313 | pub type AppCaptureServices = *mut ::core::ffi::c_void; | |
314 | pub type AppCaptureSettings = *mut ::core::ffi::c_void; | |
315 | pub type AppCaptureState = *mut ::core::ffi::c_void; | |
04454e1e | 316 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
317 | #[repr(transparent)] |
318 | pub struct AppCaptureVideoEncodingBitrateMode(pub i32); | |
319 | impl AppCaptureVideoEncodingBitrateMode { | |
320 | pub const Custom: Self = Self(0i32); | |
321 | pub const High: Self = Self(1i32); | |
322 | pub const Standard: Self = Self(2i32); | |
323 | } | |
324 | impl ::core::marker::Copy for AppCaptureVideoEncodingBitrateMode {} | |
325 | impl ::core::clone::Clone for AppCaptureVideoEncodingBitrateMode { | |
326 | fn clone(&self) -> Self { | |
327 | *self | |
328 | } | |
329 | } | |
04454e1e | 330 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
331 | #[repr(transparent)] |
332 | pub struct AppCaptureVideoEncodingFrameRateMode(pub i32); | |
333 | impl AppCaptureVideoEncodingFrameRateMode { | |
334 | pub const Standard: Self = Self(0i32); | |
335 | pub const High: Self = Self(1i32); | |
336 | } | |
337 | impl ::core::marker::Copy for AppCaptureVideoEncodingFrameRateMode {} | |
338 | impl ::core::clone::Clone for AppCaptureVideoEncodingFrameRateMode { | |
339 | fn clone(&self) -> Self { | |
340 | *self | |
341 | } | |
342 | } | |
04454e1e | 343 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
344 | #[repr(transparent)] |
345 | pub struct AppCaptureVideoEncodingResolutionMode(pub i32); | |
346 | impl AppCaptureVideoEncodingResolutionMode { | |
347 | pub const Custom: Self = Self(0i32); | |
348 | pub const High: Self = Self(1i32); | |
349 | pub const Standard: Self = Self(2i32); | |
350 | } | |
351 | impl ::core::marker::Copy for AppCaptureVideoEncodingResolutionMode {} | |
352 | impl ::core::clone::Clone for AppCaptureVideoEncodingResolutionMode { | |
353 | fn clone(&self) -> Self { | |
354 | *self | |
355 | } | |
356 | } | |
357 | pub type CameraCaptureUI = *mut ::core::ffi::c_void; | |
04454e1e | 358 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
359 | #[repr(transparent)] |
360 | pub struct CameraCaptureUIMaxPhotoResolution(pub i32); | |
361 | impl CameraCaptureUIMaxPhotoResolution { | |
362 | pub const HighestAvailable: Self = Self(0i32); | |
363 | pub const VerySmallQvga: Self = Self(1i32); | |
364 | pub const SmallVga: Self = Self(2i32); | |
365 | pub const MediumXga: Self = Self(3i32); | |
366 | pub const Large3M: Self = Self(4i32); | |
367 | pub const VeryLarge5M: Self = Self(5i32); | |
368 | } | |
369 | impl ::core::marker::Copy for CameraCaptureUIMaxPhotoResolution {} | |
370 | impl ::core::clone::Clone for CameraCaptureUIMaxPhotoResolution { | |
371 | fn clone(&self) -> Self { | |
372 | *self | |
373 | } | |
374 | } | |
04454e1e | 375 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
376 | #[repr(transparent)] |
377 | pub struct CameraCaptureUIMaxVideoResolution(pub i32); | |
378 | impl CameraCaptureUIMaxVideoResolution { | |
379 | pub const HighestAvailable: Self = Self(0i32); | |
380 | pub const LowDefinition: Self = Self(1i32); | |
381 | pub const StandardDefinition: Self = Self(2i32); | |
382 | pub const HighDefinition: Self = Self(3i32); | |
383 | } | |
384 | impl ::core::marker::Copy for CameraCaptureUIMaxVideoResolution {} | |
385 | impl ::core::clone::Clone for CameraCaptureUIMaxVideoResolution { | |
386 | fn clone(&self) -> Self { | |
387 | *self | |
388 | } | |
389 | } | |
04454e1e | 390 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
391 | #[repr(transparent)] |
392 | pub struct CameraCaptureUIMode(pub i32); | |
393 | impl CameraCaptureUIMode { | |
394 | pub const PhotoOrVideo: Self = Self(0i32); | |
395 | pub const Photo: Self = Self(1i32); | |
396 | pub const Video: Self = Self(2i32); | |
397 | } | |
398 | impl ::core::marker::Copy for CameraCaptureUIMode {} | |
399 | impl ::core::clone::Clone for CameraCaptureUIMode { | |
400 | fn clone(&self) -> Self { | |
401 | *self | |
402 | } | |
403 | } | |
404 | pub type CameraCaptureUIPhotoCaptureSettings = *mut ::core::ffi::c_void; | |
04454e1e | 405 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
406 | #[repr(transparent)] |
407 | pub struct CameraCaptureUIPhotoFormat(pub i32); | |
408 | impl CameraCaptureUIPhotoFormat { | |
409 | pub const Jpeg: Self = Self(0i32); | |
410 | pub const Png: Self = Self(1i32); | |
411 | pub const JpegXR: Self = Self(2i32); | |
412 | } | |
413 | impl ::core::marker::Copy for CameraCaptureUIPhotoFormat {} | |
414 | impl ::core::clone::Clone for CameraCaptureUIPhotoFormat { | |
415 | fn clone(&self) -> Self { | |
416 | *self | |
417 | } | |
418 | } | |
419 | pub type CameraCaptureUIVideoCaptureSettings = *mut ::core::ffi::c_void; | |
04454e1e | 420 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
421 | #[repr(transparent)] |
422 | pub struct CameraCaptureUIVideoFormat(pub i32); | |
423 | impl CameraCaptureUIVideoFormat { | |
424 | pub const Mp4: Self = Self(0i32); | |
425 | pub const Wmv: Self = Self(1i32); | |
426 | } | |
427 | impl ::core::marker::Copy for CameraCaptureUIVideoFormat {} | |
428 | impl ::core::clone::Clone for CameraCaptureUIVideoFormat { | |
429 | fn clone(&self) -> Self { | |
430 | *self | |
431 | } | |
432 | } | |
433 | pub type CapturedFrame = *mut ::core::ffi::c_void; | |
434 | pub type CapturedFrameControlValues = *mut ::core::ffi::c_void; | |
435 | pub type CapturedPhoto = *mut ::core::ffi::c_void; | |
04454e1e | 436 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
437 | #[repr(transparent)] |
438 | pub struct ForegroundActivationArgument(pub i32); | |
439 | impl ForegroundActivationArgument { | |
440 | pub const SignInRequired: Self = Self(0i32); | |
441 | pub const MoreSettings: Self = Self(1i32); | |
442 | } | |
443 | impl ::core::marker::Copy for ForegroundActivationArgument {} | |
444 | impl ::core::clone::Clone for ForegroundActivationArgument { | |
445 | fn clone(&self) -> Self { | |
446 | *self | |
447 | } | |
448 | } | |
04454e1e | 449 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
450 | #[repr(transparent)] |
451 | pub struct GameBarCommand(pub i32); | |
452 | impl GameBarCommand { | |
453 | pub const OpenGameBar: Self = Self(0i32); | |
454 | pub const RecordHistoricalBuffer: Self = Self(1i32); | |
455 | pub const ToggleStartStopRecord: Self = Self(2i32); | |
456 | pub const StartRecord: Self = Self(3i32); | |
457 | pub const StopRecord: Self = Self(4i32); | |
458 | pub const TakeScreenshot: Self = Self(5i32); | |
459 | pub const StartBroadcast: Self = Self(6i32); | |
460 | pub const StopBroadcast: Self = Self(7i32); | |
461 | pub const PauseBroadcast: Self = Self(8i32); | |
462 | pub const ResumeBroadcast: Self = Self(9i32); | |
463 | pub const ToggleStartStopBroadcast: Self = Self(10i32); | |
464 | pub const ToggleMicrophoneCapture: Self = Self(11i32); | |
465 | pub const ToggleCameraCapture: Self = Self(12i32); | |
466 | pub const ToggleRecordingIndicator: Self = Self(13i32); | |
467 | } | |
468 | impl ::core::marker::Copy for GameBarCommand {} | |
469 | impl ::core::clone::Clone for GameBarCommand { | |
470 | fn clone(&self) -> Self { | |
471 | *self | |
472 | } | |
473 | } | |
04454e1e | 474 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
475 | #[repr(transparent)] |
476 | pub struct GameBarCommandOrigin(pub i32); | |
477 | impl GameBarCommandOrigin { | |
478 | pub const ShortcutKey: Self = Self(0i32); | |
479 | pub const Cortana: Self = Self(1i32); | |
480 | pub const AppCommand: Self = Self(2i32); | |
481 | } | |
482 | impl ::core::marker::Copy for GameBarCommandOrigin {} | |
483 | impl ::core::clone::Clone for GameBarCommandOrigin { | |
484 | fn clone(&self) -> Self { | |
485 | *self | |
486 | } | |
487 | } | |
488 | pub type GameBarServices = *mut ::core::ffi::c_void; | |
489 | pub type GameBarServicesCommandEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 490 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
491 | #[repr(transparent)] |
492 | pub struct GameBarServicesDisplayMode(pub i32); | |
493 | impl GameBarServicesDisplayMode { | |
494 | pub const Windowed: Self = Self(0i32); | |
495 | pub const FullScreenExclusive: Self = Self(1i32); | |
496 | } | |
497 | impl ::core::marker::Copy for GameBarServicesDisplayMode {} | |
498 | impl ::core::clone::Clone for GameBarServicesDisplayMode { | |
499 | fn clone(&self) -> Self { | |
500 | *self | |
501 | } | |
502 | } | |
503 | pub type GameBarServicesManager = *mut ::core::ffi::c_void; | |
504 | pub type GameBarServicesManagerGameBarServicesCreatedEventArgs = *mut ::core::ffi::c_void; | |
505 | pub type GameBarServicesTargetInfo = *mut ::core::ffi::c_void; | |
04454e1e | 506 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
507 | #[repr(transparent)] |
508 | pub struct GameBarTargetCapturePolicy(pub i32); | |
509 | impl GameBarTargetCapturePolicy { | |
510 | pub const EnabledBySystem: Self = Self(0i32); | |
511 | pub const EnabledByUser: Self = Self(1i32); | |
512 | pub const NotEnabled: Self = Self(2i32); | |
513 | pub const ProhibitedBySystem: Self = Self(3i32); | |
514 | pub const ProhibitedByPublisher: Self = Self(4i32); | |
515 | } | |
516 | impl ::core::marker::Copy for GameBarTargetCapturePolicy {} | |
517 | impl ::core::clone::Clone for GameBarTargetCapturePolicy { | |
518 | fn clone(&self) -> Self { | |
519 | *self | |
520 | } | |
521 | } | |
04454e1e | 522 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
523 | #[repr(transparent)] |
524 | pub struct KnownVideoProfile(pub i32); | |
525 | impl KnownVideoProfile { | |
526 | pub const VideoRecording: Self = Self(0i32); | |
527 | pub const HighQualityPhoto: Self = Self(1i32); | |
528 | pub const BalancedVideoAndPhoto: Self = Self(2i32); | |
529 | pub const VideoConferencing: Self = Self(3i32); | |
530 | pub const PhotoSequence: Self = Self(4i32); | |
531 | pub const HighFrameRate: Self = Self(5i32); | |
532 | pub const VariablePhotoSequence: Self = Self(6i32); | |
533 | pub const HdrWithWcgVideo: Self = Self(7i32); | |
534 | pub const HdrWithWcgPhoto: Self = Self(8i32); | |
535 | pub const VideoHdr8: Self = Self(9i32); | |
536 | pub const CompressedCamera: Self = Self(10i32); | |
537 | } | |
538 | impl ::core::marker::Copy for KnownVideoProfile {} | |
539 | impl ::core::clone::Clone for KnownVideoProfile { | |
540 | fn clone(&self) -> Self { | |
541 | *self | |
542 | } | |
543 | } | |
544 | pub type LowLagMediaRecording = *mut ::core::ffi::c_void; | |
545 | pub type LowLagPhotoCapture = *mut ::core::ffi::c_void; | |
546 | pub type LowLagPhotoSequenceCapture = *mut ::core::ffi::c_void; | |
547 | pub type MediaCapture = *mut ::core::ffi::c_void; | |
04454e1e | 548 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
549 | #[repr(transparent)] |
550 | pub struct MediaCaptureDeviceExclusiveControlStatus(pub i32); | |
551 | impl MediaCaptureDeviceExclusiveControlStatus { | |
552 | pub const ExclusiveControlAvailable: Self = Self(0i32); | |
553 | pub const SharedReadOnlyAvailable: Self = Self(1i32); | |
554 | } | |
555 | impl ::core::marker::Copy for MediaCaptureDeviceExclusiveControlStatus {} | |
556 | impl ::core::clone::Clone for MediaCaptureDeviceExclusiveControlStatus { | |
557 | fn clone(&self) -> Self { | |
558 | *self | |
559 | } | |
560 | } | |
561 | pub type MediaCaptureDeviceExclusiveControlStatusChangedEventArgs = *mut ::core::ffi::c_void; | |
562 | pub type MediaCaptureFailedEventArgs = *mut ::core::ffi::c_void; | |
563 | pub type MediaCaptureFailedEventHandler = *mut ::core::ffi::c_void; | |
564 | pub type MediaCaptureFocusChangedEventArgs = *mut ::core::ffi::c_void; | |
565 | pub type MediaCaptureInitializationSettings = *mut ::core::ffi::c_void; | |
04454e1e | 566 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
567 | #[repr(transparent)] |
568 | pub struct MediaCaptureMemoryPreference(pub i32); | |
569 | impl MediaCaptureMemoryPreference { | |
570 | pub const Auto: Self = Self(0i32); | |
571 | pub const Cpu: Self = Self(1i32); | |
572 | } | |
573 | impl ::core::marker::Copy for MediaCaptureMemoryPreference {} | |
574 | impl ::core::clone::Clone for MediaCaptureMemoryPreference { | |
575 | fn clone(&self) -> Self { | |
576 | *self | |
577 | } | |
578 | } | |
579 | pub type MediaCapturePauseResult = *mut ::core::ffi::c_void; | |
580 | pub type MediaCaptureRelativePanelWatcher = *mut ::core::ffi::c_void; | |
581 | pub type MediaCaptureSettings = *mut ::core::ffi::c_void; | |
04454e1e | 582 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
583 | #[repr(transparent)] |
584 | pub struct MediaCaptureSharingMode(pub i32); | |
585 | impl MediaCaptureSharingMode { | |
586 | pub const ExclusiveControl: Self = Self(0i32); | |
587 | pub const SharedReadOnly: Self = Self(1i32); | |
588 | } | |
589 | impl ::core::marker::Copy for MediaCaptureSharingMode {} | |
590 | impl ::core::clone::Clone for MediaCaptureSharingMode { | |
591 | fn clone(&self) -> Self { | |
592 | *self | |
593 | } | |
594 | } | |
595 | pub type MediaCaptureStopResult = *mut ::core::ffi::c_void; | |
04454e1e | 596 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
597 | #[repr(transparent)] |
598 | pub struct MediaCaptureThermalStatus(pub i32); | |
599 | impl MediaCaptureThermalStatus { | |
600 | pub const Normal: Self = Self(0i32); | |
601 | pub const Overheated: Self = Self(1i32); | |
602 | } | |
603 | impl ::core::marker::Copy for MediaCaptureThermalStatus {} | |
604 | impl ::core::clone::Clone for MediaCaptureThermalStatus { | |
605 | fn clone(&self) -> Self { | |
606 | *self | |
607 | } | |
608 | } | |
609 | pub type MediaCaptureVideoProfile = *mut ::core::ffi::c_void; | |
610 | pub type MediaCaptureVideoProfileMediaDescription = *mut ::core::ffi::c_void; | |
04454e1e | 611 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
612 | #[repr(transparent)] |
613 | pub struct MediaCategory(pub i32); | |
614 | impl MediaCategory { | |
615 | pub const Other: Self = Self(0i32); | |
616 | pub const Communications: Self = Self(1i32); | |
617 | pub const Media: Self = Self(2i32); | |
618 | pub const GameChat: Self = Self(3i32); | |
619 | pub const Speech: Self = Self(4i32); | |
620 | pub const FarFieldSpeech: Self = Self(5i32); | |
621 | pub const UniformSpeech: Self = Self(6i32); | |
622 | pub const VoiceTyping: Self = Self(7i32); | |
623 | } | |
624 | impl ::core::marker::Copy for MediaCategory {} | |
625 | impl ::core::clone::Clone for MediaCategory { | |
626 | fn clone(&self) -> Self { | |
627 | *self | |
628 | } | |
629 | } | |
04454e1e | 630 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
631 | #[repr(transparent)] |
632 | pub struct MediaStreamType(pub i32); | |
633 | impl MediaStreamType { | |
634 | pub const VideoPreview: Self = Self(0i32); | |
635 | pub const VideoRecord: Self = Self(1i32); | |
636 | pub const Audio: Self = Self(2i32); | |
637 | pub const Photo: Self = Self(3i32); | |
638 | pub const Metadata: Self = Self(4i32); | |
639 | } | |
640 | impl ::core::marker::Copy for MediaStreamType {} | |
641 | impl ::core::clone::Clone for MediaStreamType { | |
642 | fn clone(&self) -> Self { | |
643 | *self | |
644 | } | |
645 | } | |
646 | pub type OptionalReferencePhotoCapturedEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 647 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
648 | #[repr(transparent)] |
649 | pub struct PhotoCaptureSource(pub i32); | |
650 | impl PhotoCaptureSource { | |
651 | pub const Auto: Self = Self(0i32); | |
652 | pub const VideoPreview: Self = Self(1i32); | |
653 | pub const Photo: Self = Self(2i32); | |
654 | } | |
655 | impl ::core::marker::Copy for PhotoCaptureSource {} | |
656 | impl ::core::clone::Clone for PhotoCaptureSource { | |
657 | fn clone(&self) -> Self { | |
658 | *self | |
659 | } | |
660 | } | |
661 | pub type PhotoCapturedEventArgs = *mut ::core::ffi::c_void; | |
662 | pub type PhotoConfirmationCapturedEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 663 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
664 | #[repr(transparent)] |
665 | pub struct PowerlineFrequency(pub i32); | |
666 | impl PowerlineFrequency { | |
667 | pub const Disabled: Self = Self(0i32); | |
668 | pub const FiftyHertz: Self = Self(1i32); | |
669 | pub const SixtyHertz: Self = Self(2i32); | |
670 | pub const Auto: Self = Self(3i32); | |
671 | } | |
672 | impl ::core::marker::Copy for PowerlineFrequency {} | |
673 | impl ::core::clone::Clone for PowerlineFrequency { | |
674 | fn clone(&self) -> Self { | |
675 | *self | |
676 | } | |
677 | } | |
678 | pub type RecordLimitationExceededEventHandler = *mut ::core::ffi::c_void; | |
679 | pub type ScreenCapture = *mut ::core::ffi::c_void; | |
680 | pub type SourceSuspensionChangedEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 681 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
682 | #[repr(transparent)] |
683 | pub struct StreamingCaptureMode(pub i32); | |
684 | impl StreamingCaptureMode { | |
685 | pub const AudioAndVideo: Self = Self(0i32); | |
686 | pub const Audio: Self = Self(1i32); | |
687 | pub const Video: Self = Self(2i32); | |
688 | } | |
689 | impl ::core::marker::Copy for StreamingCaptureMode {} | |
690 | impl ::core::clone::Clone for StreamingCaptureMode { | |
691 | fn clone(&self) -> Self { | |
692 | *self | |
693 | } | |
694 | } | |
04454e1e | 695 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
696 | #[repr(transparent)] |
697 | pub struct VideoDeviceCharacteristic(pub i32); | |
698 | impl VideoDeviceCharacteristic { | |
699 | pub const AllStreamsIndependent: Self = Self(0i32); | |
700 | pub const PreviewRecordStreamsIdentical: Self = Self(1i32); | |
701 | pub const PreviewPhotoStreamsIdentical: Self = Self(2i32); | |
702 | pub const RecordPhotoStreamsIdentical: Self = Self(3i32); | |
703 | pub const AllStreamsIdentical: Self = Self(4i32); | |
704 | } | |
705 | impl ::core::marker::Copy for VideoDeviceCharacteristic {} | |
706 | impl ::core::clone::Clone for VideoDeviceCharacteristic { | |
707 | fn clone(&self) -> Self { | |
708 | *self | |
709 | } | |
710 | } | |
04454e1e | 711 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
712 | #[repr(transparent)] |
713 | pub struct VideoRotation(pub i32); | |
714 | impl VideoRotation { | |
715 | pub const None: Self = Self(0i32); | |
716 | pub const Clockwise90Degrees: Self = Self(1i32); | |
717 | pub const Clockwise180Degrees: Self = Self(2i32); | |
718 | pub const Clockwise270Degrees: Self = Self(3i32); | |
719 | } | |
720 | impl ::core::marker::Copy for VideoRotation {} | |
721 | impl ::core::clone::Clone for VideoRotation { | |
722 | fn clone(&self) -> Self { | |
723 | *self | |
724 | } | |
725 | } | |
726 | pub type VideoStreamConfiguration = *mut ::core::ffi::c_void; | |
727 | #[repr(C)] | |
04454e1e | 728 | #[doc = "*Required features: `\"Media_Capture\"`*"] |
5e7ed085 FG |
729 | pub struct WhiteBalanceGain { |
730 | pub R: f64, | |
731 | pub G: f64, | |
732 | pub B: f64, | |
733 | } | |
734 | impl ::core::marker::Copy for WhiteBalanceGain {} | |
735 | impl ::core::clone::Clone for WhiteBalanceGain { | |
736 | fn clone(&self) -> Self { | |
737 | *self | |
738 | } | |
739 | } |