diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:21 +0000 |
commit | 4e8199b572f2035b7749cba276ece3a26630d23e (patch) | |
tree | f09feeed6a0fe39d027b1908aa63ea6b35e4b631 /vendor/windows-sys/src/Windows/Media/Casting/mod.rs | |
parent | Adding upstream version 1.66.0+dfsg1. (diff) | |
download | rustc-4e8199b572f2035b7749cba276ece3a26630d23e.tar.xz rustc-4e8199b572f2035b7749cba276ece3a26630d23e.zip |
Adding upstream version 1.67.1+dfsg1.upstream/1.67.1+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Media/Casting/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Media/Casting/mod.rs | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/vendor/windows-sys/src/Windows/Media/Casting/mod.rs b/vendor/windows-sys/src/Windows/Media/Casting/mod.rs deleted file mode 100644 index ebf7e1ea5..000000000 --- a/vendor/windows-sys/src/Windows/Media/Casting/mod.rs +++ /dev/null @@ -1,56 +0,0 @@ -pub type CastingConnection = *mut ::core::ffi::c_void; -pub type CastingConnectionErrorOccurredEventArgs = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Media_Casting\"`*"] -#[repr(transparent)] -pub struct CastingConnectionErrorStatus(pub i32); -impl CastingConnectionErrorStatus { - pub const Succeeded: Self = Self(0i32); - pub const DeviceDidNotRespond: Self = Self(1i32); - pub const DeviceError: Self = Self(2i32); - pub const DeviceLocked: Self = Self(3i32); - pub const ProtectedPlaybackFailed: Self = Self(4i32); - pub const InvalidCastingSource: Self = Self(5i32); - pub const Unknown: Self = Self(6i32); -} -impl ::core::marker::Copy for CastingConnectionErrorStatus {} -impl ::core::clone::Clone for CastingConnectionErrorStatus { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Media_Casting\"`*"] -#[repr(transparent)] -pub struct CastingConnectionState(pub i32); -impl CastingConnectionState { - pub const Disconnected: Self = Self(0i32); - pub const Connected: Self = Self(1i32); - pub const Rendering: Self = Self(2i32); - pub const Disconnecting: Self = Self(3i32); - pub const Connecting: Self = Self(4i32); -} -impl ::core::marker::Copy for CastingConnectionState {} -impl ::core::clone::Clone for CastingConnectionState { - fn clone(&self) -> Self { - *self - } -} -pub type CastingDevice = *mut ::core::ffi::c_void; -pub type CastingDevicePicker = *mut ::core::ffi::c_void; -pub type CastingDevicePickerFilter = *mut ::core::ffi::c_void; -pub type CastingDeviceSelectedEventArgs = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Media_Casting\"`*"] -#[repr(transparent)] -pub struct CastingPlaybackTypes(pub u32); -impl CastingPlaybackTypes { - pub const None: Self = Self(0u32); - pub const Audio: Self = Self(1u32); - pub const Video: Self = Self(2u32); - pub const Picture: Self = Self(4u32); -} -impl ::core::marker::Copy for CastingPlaybackTypes {} -impl ::core::clone::Clone for CastingPlaybackTypes { - fn clone(&self) -> Self { - *self - } -} -pub type CastingSource = *mut ::core::ffi::c_void; |