]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Phone/Media/Devices/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Phone / Media / Devices / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[doc = "*Required features: `\"Phone_Media_Devices\"`*"]
3 #[repr(transparent)]
4 pub struct AudioRoutingEndpoint(pub i32);
5 impl AudioRoutingEndpoint {
6 pub const Default: Self = Self(0i32);
7 pub const Earpiece: Self = Self(1i32);
8 pub const Speakerphone: Self = Self(2i32);
9 pub const Bluetooth: Self = Self(3i32);
10 pub const WiredHeadset: Self = Self(4i32);
11 pub const WiredHeadsetSpeakerOnly: Self = Self(5i32);
12 pub const BluetoothWithNoiseAndEchoCancellation: Self = Self(6i32);
13 pub const BluetoothPreferred: Self = Self(7i32);
14 }
15 impl ::core::marker::Copy for AudioRoutingEndpoint {}
16 impl ::core::clone::Clone for AudioRoutingEndpoint {
17 fn clone(&self) -> Self {
18 *self
19 }
20 }
21 pub type AudioRoutingManager = *mut ::core::ffi::c_void;
22 #[doc = "*Required features: `\"Phone_Media_Devices\"`*"]
23 #[repr(transparent)]
24 pub struct AvailableAudioRoutingEndpoints(pub u32);
25 impl AvailableAudioRoutingEndpoints {
26 pub const None: Self = Self(0u32);
27 pub const Earpiece: Self = Self(1u32);
28 pub const Speakerphone: Self = Self(2u32);
29 pub const Bluetooth: Self = Self(4u32);
30 }
31 impl ::core::marker::Copy for AvailableAudioRoutingEndpoints {}
32 impl ::core::clone::Clone for AvailableAudioRoutingEndpoints {
33 fn clone(&self) -> Self {
34 *self
35 }
36 }