]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Media/Capture/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Media / Capture / mod.rs
CommitLineData
5e7ed085
FG
1#[cfg(feature = "Media_Capture_Core")]
2pub mod Core;
3#[cfg(feature = "Media_Capture_Frames")]
4pub mod Frames;
5pub type AdvancedCapturedPhoto = *mut ::core::ffi::c_void;
6pub type AdvancedPhotoCapture = *mut ::core::ffi::c_void;
7pub type AppBroadcastBackgroundService = *mut ::core::ffi::c_void;
8pub type AppBroadcastBackgroundServiceSignInInfo = *mut ::core::ffi::c_void;
9pub type AppBroadcastBackgroundServiceStreamInfo = *mut ::core::ffi::c_void;
04454e1e 10#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
11#[repr(transparent)]
12pub struct AppBroadcastCameraCaptureState(pub i32);
13impl AppBroadcastCameraCaptureState {
14 pub const Stopped: Self = Self(0i32);
15 pub const Started: Self = Self(1i32);
16 pub const Failed: Self = Self(2i32);
17}
18impl ::core::marker::Copy for AppBroadcastCameraCaptureState {}
19impl ::core::clone::Clone for AppBroadcastCameraCaptureState {
20 fn clone(&self) -> Self {
21 *self
22 }
23}
24pub type AppBroadcastCameraCaptureStateChangedEventArgs = *mut ::core::ffi::c_void;
04454e1e 25#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
26#[repr(transparent)]
27pub struct AppBroadcastCameraOverlayLocation(pub i32);
28impl 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}
39impl ::core::marker::Copy for AppBroadcastCameraOverlayLocation {}
40impl ::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)]
47pub struct AppBroadcastCameraOverlaySize(pub i32);
48impl AppBroadcastCameraOverlaySize {
49 pub const Small: Self = Self(0i32);
50 pub const Medium: Self = Self(1i32);
51 pub const Large: Self = Self(2i32);
52}
53impl ::core::marker::Copy for AppBroadcastCameraOverlaySize {}
54impl ::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)]
61pub struct AppBroadcastCaptureTargetType(pub i32);
62impl AppBroadcastCaptureTargetType {
63 pub const AppView: Self = Self(0i32);
64 pub const EntireDisplay: Self = Self(1i32);
65}
66impl ::core::marker::Copy for AppBroadcastCaptureTargetType {}
67impl ::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)]
74pub struct AppBroadcastExitBroadcastModeReason(pub i32);
75impl 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}
81impl ::core::marker::Copy for AppBroadcastExitBroadcastModeReason {}
82impl ::core::clone::Clone for AppBroadcastExitBroadcastModeReason {
83 fn clone(&self) -> Self {
84 *self
85 }
86}
87pub type AppBroadcastGlobalSettings = *mut ::core::ffi::c_void;
88pub type AppBroadcastHeartbeatRequestedEventArgs = *mut ::core::ffi::c_void;
04454e1e 89#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
90#[repr(transparent)]
91pub struct AppBroadcastMicrophoneCaptureState(pub i32);
92impl AppBroadcastMicrophoneCaptureState {
93 pub const Stopped: Self = Self(0i32);
94 pub const Started: Self = Self(1i32);
95 pub const Failed: Self = Self(2i32);
96}
97impl ::core::marker::Copy for AppBroadcastMicrophoneCaptureState {}
98impl ::core::clone::Clone for AppBroadcastMicrophoneCaptureState {
99 fn clone(&self) -> Self {
100 *self
101 }
102}
103pub type AppBroadcastMicrophoneCaptureStateChangedEventArgs = *mut ::core::ffi::c_void;
104pub type AppBroadcastPlugIn = *mut ::core::ffi::c_void;
105pub type AppBroadcastPlugInManager = *mut ::core::ffi::c_void;
04454e1e 106#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
107#[repr(transparent)]
108pub struct AppBroadcastPlugInState(pub i32);
109impl 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}
118impl ::core::marker::Copy for AppBroadcastPlugInState {}
119impl ::core::clone::Clone for AppBroadcastPlugInState {
120 fn clone(&self) -> Self {
121 *self
122 }
123}
124pub type AppBroadcastPlugInStateChangedEventArgs = *mut ::core::ffi::c_void;
125pub type AppBroadcastPreview = *mut ::core::ffi::c_void;
04454e1e 126#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
127#[repr(transparent)]
128pub struct AppBroadcastPreviewState(pub i32);
129impl AppBroadcastPreviewState {
130 pub const Started: Self = Self(0i32);
131 pub const Stopped: Self = Self(1i32);
132 pub const Failed: Self = Self(2i32);
133}
134impl ::core::marker::Copy for AppBroadcastPreviewState {}
135impl ::core::clone::Clone for AppBroadcastPreviewState {
136 fn clone(&self) -> Self {
137 *self
138 }
139}
140pub type AppBroadcastPreviewStateChangedEventArgs = *mut ::core::ffi::c_void;
141pub type AppBroadcastPreviewStreamReader = *mut ::core::ffi::c_void;
142pub type AppBroadcastPreviewStreamVideoFrame = *mut ::core::ffi::c_void;
143pub type AppBroadcastPreviewStreamVideoHeader = *mut ::core::ffi::c_void;
144pub type AppBroadcastProviderSettings = *mut ::core::ffi::c_void;
145pub type AppBroadcastServices = *mut ::core::ffi::c_void;
04454e1e 146#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
147#[repr(transparent)]
148pub struct AppBroadcastSignInResult(pub i32);
149impl 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}
156impl ::core::marker::Copy for AppBroadcastSignInResult {}
157impl ::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)]
164pub struct AppBroadcastSignInState(pub i32);
165impl 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}
172impl ::core::marker::Copy for AppBroadcastSignInState {}
173impl ::core::clone::Clone for AppBroadcastSignInState {
174 fn clone(&self) -> Self {
175 *self
176 }
177}
178pub type AppBroadcastSignInStateChangedEventArgs = *mut ::core::ffi::c_void;
179pub type AppBroadcastState = *mut ::core::ffi::c_void;
180pub type AppBroadcastStreamAudioFrame = *mut ::core::ffi::c_void;
181pub type AppBroadcastStreamAudioHeader = *mut ::core::ffi::c_void;
182pub type AppBroadcastStreamReader = *mut ::core::ffi::c_void;
04454e1e 183#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
184#[repr(transparent)]
185pub struct AppBroadcastStreamState(pub i32);
186impl 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}
193impl ::core::marker::Copy for AppBroadcastStreamState {}
194impl ::core::clone::Clone for AppBroadcastStreamState {
195 fn clone(&self) -> Self {
196 *self
197 }
198}
199pub type AppBroadcastStreamStateChangedEventArgs = *mut ::core::ffi::c_void;
200pub type AppBroadcastStreamVideoFrame = *mut ::core::ffi::c_void;
201pub type AppBroadcastStreamVideoHeader = *mut ::core::ffi::c_void;
04454e1e 202#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
203#[repr(transparent)]
204pub struct AppBroadcastTerminationReason(pub i32);
205impl 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}
217impl ::core::marker::Copy for AppBroadcastTerminationReason {}
218impl ::core::clone::Clone for AppBroadcastTerminationReason {
219 fn clone(&self) -> Self {
220 *self
221 }
222}
223pub type AppBroadcastTriggerDetails = *mut ::core::ffi::c_void;
04454e1e 224#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
225#[repr(transparent)]
226pub struct AppBroadcastVideoEncodingBitrateMode(pub i32);
227impl AppBroadcastVideoEncodingBitrateMode {
228 pub const Custom: Self = Self(0i32);
229 pub const Auto: Self = Self(1i32);
230}
231impl ::core::marker::Copy for AppBroadcastVideoEncodingBitrateMode {}
232impl ::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)]
239pub struct AppBroadcastVideoEncodingResolutionMode(pub i32);
240impl AppBroadcastVideoEncodingResolutionMode {
241 pub const Custom: Self = Self(0i32);
242 pub const Auto: Self = Self(1i32);
243}
244impl ::core::marker::Copy for AppBroadcastVideoEncodingResolutionMode {}
245impl ::core::clone::Clone for AppBroadcastVideoEncodingResolutionMode {
246 fn clone(&self) -> Self {
247 *self
248 }
249}
250pub type AppBroadcastViewerCountChangedEventArgs = *mut ::core::ffi::c_void;
251pub type AppCapture = *mut ::core::ffi::c_void;
252pub type AppCaptureAlternateShortcutKeys = *mut ::core::ffi::c_void;
253pub type AppCaptureDurationGeneratedEventArgs = *mut ::core::ffi::c_void;
254pub type AppCaptureFileGeneratedEventArgs = *mut ::core::ffi::c_void;
04454e1e 255#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
256#[repr(transparent)]
257pub struct AppCaptureHistoricalBufferLengthUnit(pub i32);
258impl AppCaptureHistoricalBufferLengthUnit {
259 pub const Megabytes: Self = Self(0i32);
260 pub const Seconds: Self = Self(1i32);
261}
262impl ::core::marker::Copy for AppCaptureHistoricalBufferLengthUnit {}
263impl ::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)]
270pub struct AppCaptureMetadataPriority(pub i32);
271impl AppCaptureMetadataPriority {
272 pub const Informational: Self = Self(0i32);
273 pub const Important: Self = Self(1i32);
274}
275impl ::core::marker::Copy for AppCaptureMetadataPriority {}
276impl ::core::clone::Clone for AppCaptureMetadataPriority {
277 fn clone(&self) -> Self {
278 *self
279 }
280}
281pub type AppCaptureMetadataWriter = *mut ::core::ffi::c_void;
04454e1e 282#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
283#[repr(transparent)]
284pub struct AppCaptureMicrophoneCaptureState(pub i32);
285impl AppCaptureMicrophoneCaptureState {
286 pub const Stopped: Self = Self(0i32);
287 pub const Started: Self = Self(1i32);
288 pub const Failed: Self = Self(2i32);
289}
290impl ::core::marker::Copy for AppCaptureMicrophoneCaptureState {}
291impl ::core::clone::Clone for AppCaptureMicrophoneCaptureState {
292 fn clone(&self) -> Self {
293 *self
294 }
295}
296pub type AppCaptureMicrophoneCaptureStateChangedEventArgs = *mut ::core::ffi::c_void;
297pub type AppCaptureRecordOperation = *mut ::core::ffi::c_void;
04454e1e 298#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
299#[repr(transparent)]
300pub struct AppCaptureRecordingState(pub i32);
301impl AppCaptureRecordingState {
302 pub const InProgress: Self = Self(0i32);
303 pub const Completed: Self = Self(1i32);
304 pub const Failed: Self = Self(2i32);
305}
306impl ::core::marker::Copy for AppCaptureRecordingState {}
307impl ::core::clone::Clone for AppCaptureRecordingState {
308 fn clone(&self) -> Self {
309 *self
310 }
311}
312pub type AppCaptureRecordingStateChangedEventArgs = *mut ::core::ffi::c_void;
313pub type AppCaptureServices = *mut ::core::ffi::c_void;
314pub type AppCaptureSettings = *mut ::core::ffi::c_void;
315pub type AppCaptureState = *mut ::core::ffi::c_void;
04454e1e 316#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
317#[repr(transparent)]
318pub struct AppCaptureVideoEncodingBitrateMode(pub i32);
319impl AppCaptureVideoEncodingBitrateMode {
320 pub const Custom: Self = Self(0i32);
321 pub const High: Self = Self(1i32);
322 pub const Standard: Self = Self(2i32);
323}
324impl ::core::marker::Copy for AppCaptureVideoEncodingBitrateMode {}
325impl ::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)]
332pub struct AppCaptureVideoEncodingFrameRateMode(pub i32);
333impl AppCaptureVideoEncodingFrameRateMode {
334 pub const Standard: Self = Self(0i32);
335 pub const High: Self = Self(1i32);
336}
337impl ::core::marker::Copy for AppCaptureVideoEncodingFrameRateMode {}
338impl ::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)]
345pub struct AppCaptureVideoEncodingResolutionMode(pub i32);
346impl AppCaptureVideoEncodingResolutionMode {
347 pub const Custom: Self = Self(0i32);
348 pub const High: Self = Self(1i32);
349 pub const Standard: Self = Self(2i32);
350}
351impl ::core::marker::Copy for AppCaptureVideoEncodingResolutionMode {}
352impl ::core::clone::Clone for AppCaptureVideoEncodingResolutionMode {
353 fn clone(&self) -> Self {
354 *self
355 }
356}
357pub type CameraCaptureUI = *mut ::core::ffi::c_void;
04454e1e 358#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
359#[repr(transparent)]
360pub struct CameraCaptureUIMaxPhotoResolution(pub i32);
361impl 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}
369impl ::core::marker::Copy for CameraCaptureUIMaxPhotoResolution {}
370impl ::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)]
377pub struct CameraCaptureUIMaxVideoResolution(pub i32);
378impl 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}
384impl ::core::marker::Copy for CameraCaptureUIMaxVideoResolution {}
385impl ::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)]
392pub struct CameraCaptureUIMode(pub i32);
393impl CameraCaptureUIMode {
394 pub const PhotoOrVideo: Self = Self(0i32);
395 pub const Photo: Self = Self(1i32);
396 pub const Video: Self = Self(2i32);
397}
398impl ::core::marker::Copy for CameraCaptureUIMode {}
399impl ::core::clone::Clone for CameraCaptureUIMode {
400 fn clone(&self) -> Self {
401 *self
402 }
403}
404pub type CameraCaptureUIPhotoCaptureSettings = *mut ::core::ffi::c_void;
04454e1e 405#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
406#[repr(transparent)]
407pub struct CameraCaptureUIPhotoFormat(pub i32);
408impl CameraCaptureUIPhotoFormat {
409 pub const Jpeg: Self = Self(0i32);
410 pub const Png: Self = Self(1i32);
411 pub const JpegXR: Self = Self(2i32);
412}
413impl ::core::marker::Copy for CameraCaptureUIPhotoFormat {}
414impl ::core::clone::Clone for CameraCaptureUIPhotoFormat {
415 fn clone(&self) -> Self {
416 *self
417 }
418}
419pub type CameraCaptureUIVideoCaptureSettings = *mut ::core::ffi::c_void;
04454e1e 420#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
421#[repr(transparent)]
422pub struct CameraCaptureUIVideoFormat(pub i32);
423impl CameraCaptureUIVideoFormat {
424 pub const Mp4: Self = Self(0i32);
425 pub const Wmv: Self = Self(1i32);
426}
427impl ::core::marker::Copy for CameraCaptureUIVideoFormat {}
428impl ::core::clone::Clone for CameraCaptureUIVideoFormat {
429 fn clone(&self) -> Self {
430 *self
431 }
432}
433pub type CapturedFrame = *mut ::core::ffi::c_void;
434pub type CapturedFrameControlValues = *mut ::core::ffi::c_void;
435pub type CapturedPhoto = *mut ::core::ffi::c_void;
04454e1e 436#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
437#[repr(transparent)]
438pub struct ForegroundActivationArgument(pub i32);
439impl ForegroundActivationArgument {
440 pub const SignInRequired: Self = Self(0i32);
441 pub const MoreSettings: Self = Self(1i32);
442}
443impl ::core::marker::Copy for ForegroundActivationArgument {}
444impl ::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)]
451pub struct GameBarCommand(pub i32);
452impl 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}
468impl ::core::marker::Copy for GameBarCommand {}
469impl ::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)]
476pub struct GameBarCommandOrigin(pub i32);
477impl GameBarCommandOrigin {
478 pub const ShortcutKey: Self = Self(0i32);
479 pub const Cortana: Self = Self(1i32);
480 pub const AppCommand: Self = Self(2i32);
481}
482impl ::core::marker::Copy for GameBarCommandOrigin {}
483impl ::core::clone::Clone for GameBarCommandOrigin {
484 fn clone(&self) -> Self {
485 *self
486 }
487}
488pub type GameBarServices = *mut ::core::ffi::c_void;
489pub type GameBarServicesCommandEventArgs = *mut ::core::ffi::c_void;
04454e1e 490#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
491#[repr(transparent)]
492pub struct GameBarServicesDisplayMode(pub i32);
493impl GameBarServicesDisplayMode {
494 pub const Windowed: Self = Self(0i32);
495 pub const FullScreenExclusive: Self = Self(1i32);
496}
497impl ::core::marker::Copy for GameBarServicesDisplayMode {}
498impl ::core::clone::Clone for GameBarServicesDisplayMode {
499 fn clone(&self) -> Self {
500 *self
501 }
502}
503pub type GameBarServicesManager = *mut ::core::ffi::c_void;
504pub type GameBarServicesManagerGameBarServicesCreatedEventArgs = *mut ::core::ffi::c_void;
505pub type GameBarServicesTargetInfo = *mut ::core::ffi::c_void;
04454e1e 506#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
507#[repr(transparent)]
508pub struct GameBarTargetCapturePolicy(pub i32);
509impl 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}
516impl ::core::marker::Copy for GameBarTargetCapturePolicy {}
517impl ::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)]
524pub struct KnownVideoProfile(pub i32);
525impl 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}
538impl ::core::marker::Copy for KnownVideoProfile {}
539impl ::core::clone::Clone for KnownVideoProfile {
540 fn clone(&self) -> Self {
541 *self
542 }
543}
544pub type LowLagMediaRecording = *mut ::core::ffi::c_void;
545pub type LowLagPhotoCapture = *mut ::core::ffi::c_void;
546pub type LowLagPhotoSequenceCapture = *mut ::core::ffi::c_void;
547pub type MediaCapture = *mut ::core::ffi::c_void;
04454e1e 548#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
549#[repr(transparent)]
550pub struct MediaCaptureDeviceExclusiveControlStatus(pub i32);
551impl MediaCaptureDeviceExclusiveControlStatus {
552 pub const ExclusiveControlAvailable: Self = Self(0i32);
553 pub const SharedReadOnlyAvailable: Self = Self(1i32);
554}
555impl ::core::marker::Copy for MediaCaptureDeviceExclusiveControlStatus {}
556impl ::core::clone::Clone for MediaCaptureDeviceExclusiveControlStatus {
557 fn clone(&self) -> Self {
558 *self
559 }
560}
561pub type MediaCaptureDeviceExclusiveControlStatusChangedEventArgs = *mut ::core::ffi::c_void;
562pub type MediaCaptureFailedEventArgs = *mut ::core::ffi::c_void;
563pub type MediaCaptureFailedEventHandler = *mut ::core::ffi::c_void;
564pub type MediaCaptureFocusChangedEventArgs = *mut ::core::ffi::c_void;
565pub type MediaCaptureInitializationSettings = *mut ::core::ffi::c_void;
04454e1e 566#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
567#[repr(transparent)]
568pub struct MediaCaptureMemoryPreference(pub i32);
569impl MediaCaptureMemoryPreference {
570 pub const Auto: Self = Self(0i32);
571 pub const Cpu: Self = Self(1i32);
572}
573impl ::core::marker::Copy for MediaCaptureMemoryPreference {}
574impl ::core::clone::Clone for MediaCaptureMemoryPreference {
575 fn clone(&self) -> Self {
576 *self
577 }
578}
579pub type MediaCapturePauseResult = *mut ::core::ffi::c_void;
580pub type MediaCaptureRelativePanelWatcher = *mut ::core::ffi::c_void;
581pub type MediaCaptureSettings = *mut ::core::ffi::c_void;
04454e1e 582#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
583#[repr(transparent)]
584pub struct MediaCaptureSharingMode(pub i32);
585impl MediaCaptureSharingMode {
586 pub const ExclusiveControl: Self = Self(0i32);
587 pub const SharedReadOnly: Self = Self(1i32);
588}
589impl ::core::marker::Copy for MediaCaptureSharingMode {}
590impl ::core::clone::Clone for MediaCaptureSharingMode {
591 fn clone(&self) -> Self {
592 *self
593 }
594}
595pub type MediaCaptureStopResult = *mut ::core::ffi::c_void;
04454e1e 596#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
597#[repr(transparent)]
598pub struct MediaCaptureThermalStatus(pub i32);
599impl MediaCaptureThermalStatus {
600 pub const Normal: Self = Self(0i32);
601 pub const Overheated: Self = Self(1i32);
602}
603impl ::core::marker::Copy for MediaCaptureThermalStatus {}
604impl ::core::clone::Clone for MediaCaptureThermalStatus {
605 fn clone(&self) -> Self {
606 *self
607 }
608}
609pub type MediaCaptureVideoProfile = *mut ::core::ffi::c_void;
610pub type MediaCaptureVideoProfileMediaDescription = *mut ::core::ffi::c_void;
04454e1e 611#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
612#[repr(transparent)]
613pub struct MediaCategory(pub i32);
614impl 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}
624impl ::core::marker::Copy for MediaCategory {}
625impl ::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)]
632pub struct MediaStreamType(pub i32);
633impl 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}
640impl ::core::marker::Copy for MediaStreamType {}
641impl ::core::clone::Clone for MediaStreamType {
642 fn clone(&self) -> Self {
643 *self
644 }
645}
646pub type OptionalReferencePhotoCapturedEventArgs = *mut ::core::ffi::c_void;
04454e1e 647#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
648#[repr(transparent)]
649pub struct PhotoCaptureSource(pub i32);
650impl PhotoCaptureSource {
651 pub const Auto: Self = Self(0i32);
652 pub const VideoPreview: Self = Self(1i32);
653 pub const Photo: Self = Self(2i32);
654}
655impl ::core::marker::Copy for PhotoCaptureSource {}
656impl ::core::clone::Clone for PhotoCaptureSource {
657 fn clone(&self) -> Self {
658 *self
659 }
660}
661pub type PhotoCapturedEventArgs = *mut ::core::ffi::c_void;
662pub type PhotoConfirmationCapturedEventArgs = *mut ::core::ffi::c_void;
04454e1e 663#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
664#[repr(transparent)]
665pub struct PowerlineFrequency(pub i32);
666impl 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}
672impl ::core::marker::Copy for PowerlineFrequency {}
673impl ::core::clone::Clone for PowerlineFrequency {
674 fn clone(&self) -> Self {
675 *self
676 }
677}
678pub type RecordLimitationExceededEventHandler = *mut ::core::ffi::c_void;
679pub type ScreenCapture = *mut ::core::ffi::c_void;
680pub type SourceSuspensionChangedEventArgs = *mut ::core::ffi::c_void;
04454e1e 681#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
682#[repr(transparent)]
683pub struct StreamingCaptureMode(pub i32);
684impl StreamingCaptureMode {
685 pub const AudioAndVideo: Self = Self(0i32);
686 pub const Audio: Self = Self(1i32);
687 pub const Video: Self = Self(2i32);
688}
689impl ::core::marker::Copy for StreamingCaptureMode {}
690impl ::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)]
697pub struct VideoDeviceCharacteristic(pub i32);
698impl 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}
705impl ::core::marker::Copy for VideoDeviceCharacteristic {}
706impl ::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)]
713pub struct VideoRotation(pub i32);
714impl 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}
720impl ::core::marker::Copy for VideoRotation {}
721impl ::core::clone::Clone for VideoRotation {
722 fn clone(&self) -> Self {
723 *self
724 }
725}
726pub type VideoStreamConfiguration = *mut ::core::ffi::c_void;
727#[repr(C)]
04454e1e 728#[doc = "*Required features: `\"Media_Capture\"`*"]
5e7ed085
FG
729pub struct WhiteBalanceGain {
730 pub R: f64,
731 pub G: f64,
732 pub B: f64,
733}
734impl ::core::marker::Copy for WhiteBalanceGain {}
735impl ::core::clone::Clone for WhiteBalanceGain {
736 fn clone(&self) -> Self {
737 *self
738 }
739}