]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Media/PlayTo/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Media / PlayTo / mod.rs
CommitLineData
5e7ed085
FG
1pub type CurrentTimeChangeRequestedEventArgs = *mut ::core::ffi::c_void;
2pub type MuteChangeRequestedEventArgs = *mut ::core::ffi::c_void;
3pub type PlayToConnection = *mut ::core::ffi::c_void;
04454e1e 4#[doc = "*Required features: `\"Media_PlayTo\"`, `\"deprecated\"`*"]
5e7ed085
FG
5#[cfg(feature = "deprecated")]
6#[repr(transparent)]
7pub struct PlayToConnectionError(pub i32);
8#[cfg(feature = "deprecated")]
9impl PlayToConnectionError {
10 pub const None: Self = Self(0i32);
11 pub const DeviceNotResponding: Self = Self(1i32);
12 pub const DeviceError: Self = Self(2i32);
13 pub const DeviceLocked: Self = Self(3i32);
14 pub const ProtectedPlaybackFailed: Self = Self(4i32);
15}
16#[cfg(feature = "deprecated")]
17impl ::core::marker::Copy for PlayToConnectionError {}
18#[cfg(feature = "deprecated")]
19impl ::core::clone::Clone for PlayToConnectionError {
20 fn clone(&self) -> Self {
21 *self
22 }
23}
24pub type PlayToConnectionErrorEventArgs = *mut ::core::ffi::c_void;
04454e1e 25#[doc = "*Required features: `\"Media_PlayTo\"`, `\"deprecated\"`*"]
5e7ed085
FG
26#[cfg(feature = "deprecated")]
27#[repr(transparent)]
28pub struct PlayToConnectionState(pub i32);
29#[cfg(feature = "deprecated")]
30impl PlayToConnectionState {
31 pub const Disconnected: Self = Self(0i32);
32 pub const Connected: Self = Self(1i32);
33 pub const Rendering: Self = Self(2i32);
34}
35#[cfg(feature = "deprecated")]
36impl ::core::marker::Copy for PlayToConnectionState {}
37#[cfg(feature = "deprecated")]
38impl ::core::clone::Clone for PlayToConnectionState {
39 fn clone(&self) -> Self {
40 *self
41 }
42}
43pub type PlayToConnectionStateChangedEventArgs = *mut ::core::ffi::c_void;
44pub type PlayToConnectionTransferredEventArgs = *mut ::core::ffi::c_void;
45pub type PlayToManager = *mut ::core::ffi::c_void;
46pub type PlayToReceiver = *mut ::core::ffi::c_void;
47pub type PlayToSource = *mut ::core::ffi::c_void;
48pub type PlayToSourceDeferral = *mut ::core::ffi::c_void;
49pub type PlayToSourceRequest = *mut ::core::ffi::c_void;
50pub type PlayToSourceRequestedEventArgs = *mut ::core::ffi::c_void;
51pub type PlayToSourceSelectedEventArgs = *mut ::core::ffi::c_void;
52pub type PlaybackRateChangeRequestedEventArgs = *mut ::core::ffi::c_void;
53pub type SourceChangeRequestedEventArgs = *mut ::core::ffi::c_void;
54pub type VolumeChangeRequestedEventArgs = *mut ::core::ffi::c_void;