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