]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys-0.28.0/src/Windows/Phone/Media/Devices/mod.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / vendor / windows-sys-0.28.0 / 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 #[link(name = "windows")]
3 extern "system" {}
4 #[repr(transparent)]
5 pub struct AudioRoutingEndpoint(pub i32);
6 impl AudioRoutingEndpoint {
7 pub const Default: Self = Self(0i32);
8 pub const Earpiece: Self = Self(1i32);
9 pub const Speakerphone: Self = Self(2i32);
10 pub const Bluetooth: Self = Self(3i32);
11 pub const WiredHeadset: Self = Self(4i32);
12 pub const WiredHeadsetSpeakerOnly: Self = Self(5i32);
13 pub const BluetoothWithNoiseAndEchoCancellation: Self = Self(6i32);
14 pub const BluetoothPreferred: Self = Self(7i32);
15 }
16 impl ::core::marker::Copy for AudioRoutingEndpoint {}
17 impl ::core::clone::Clone for AudioRoutingEndpoint {
18 fn clone(&self) -> Self {
19 *self
20 }
21 }
22 pub type AudioRoutingManager = *mut ::core::ffi::c_void;
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 }