diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Media/PlayTo/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Media/PlayTo/mod.rs | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Media/PlayTo/mod.rs b/vendor/windows-sys/src/Windows/Media/PlayTo/mod.rs new file mode 100644 index 000000000..c01048682 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Media/PlayTo/mod.rs @@ -0,0 +1,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; |