diff options
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Media/Miracast')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Media/Miracast/mod.rs | 141 |
1 files changed, 0 insertions, 141 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Media/Miracast/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Media/Miracast/mod.rs deleted file mode 100644 index 8ff0e98c1..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Media/Miracast/mod.rs +++ /dev/null @@ -1,141 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -pub type MiracastReceiver = *mut ::core::ffi::c_void; -pub type MiracastReceiverApplySettingsResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct MiracastReceiverApplySettingsStatus(pub i32); -impl MiracastReceiverApplySettingsStatus { - pub const Success: Self = Self(0i32); - pub const UnknownFailure: Self = Self(1i32); - pub const MiracastNotSupported: Self = Self(2i32); - pub const AccessDenied: Self = Self(3i32); - pub const FriendlyNameTooLong: Self = Self(4i32); - pub const ModelNameTooLong: Self = Self(5i32); - pub const ModelNumberTooLong: Self = Self(6i32); - pub const InvalidSettings: Self = Self(7i32); -} -impl ::core::marker::Copy for MiracastReceiverApplySettingsStatus {} -impl ::core::clone::Clone for MiracastReceiverApplySettingsStatus { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct MiracastReceiverAuthorizationMethod(pub i32); -impl MiracastReceiverAuthorizationMethod { - pub const None: Self = Self(0i32); - pub const ConfirmConnection: Self = Self(1i32); - pub const PinDisplayIfRequested: Self = Self(2i32); - pub const PinDisplayRequired: Self = Self(3i32); -} -impl ::core::marker::Copy for MiracastReceiverAuthorizationMethod {} -impl ::core::clone::Clone for MiracastReceiverAuthorizationMethod { - fn clone(&self) -> Self { - *self - } -} -pub type MiracastReceiverConnection = *mut ::core::ffi::c_void; -pub type MiracastReceiverConnectionCreatedEventArgs = *mut ::core::ffi::c_void; -pub type MiracastReceiverCursorImageChannel = *mut ::core::ffi::c_void; -pub type MiracastReceiverCursorImageChannelSettings = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct MiracastReceiverDisconnectReason(pub i32); -impl MiracastReceiverDisconnectReason { - pub const Finished: Self = Self(0i32); - pub const AppSpecificError: Self = Self(1i32); - pub const ConnectionNotAccepted: Self = Self(2i32); - pub const DisconnectedByUser: Self = Self(3i32); - pub const FailedToStartStreaming: Self = Self(4i32); - pub const MediaDecodingError: Self = Self(5i32); - pub const MediaStreamingError: Self = Self(6i32); - pub const MediaDecryptionError: Self = Self(7i32); -} -impl ::core::marker::Copy for MiracastReceiverDisconnectReason {} -impl ::core::clone::Clone for MiracastReceiverDisconnectReason { - fn clone(&self) -> Self { - *self - } -} -pub type MiracastReceiverDisconnectedEventArgs = *mut ::core::ffi::c_void; -pub type MiracastReceiverGameControllerDevice = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct MiracastReceiverGameControllerDeviceUsageMode(pub i32); -impl MiracastReceiverGameControllerDeviceUsageMode { - pub const AsGameController: Self = Self(0i32); - pub const AsMouseAndKeyboard: Self = Self(1i32); -} -impl ::core::marker::Copy for MiracastReceiverGameControllerDeviceUsageMode {} -impl ::core::clone::Clone for MiracastReceiverGameControllerDeviceUsageMode { - fn clone(&self) -> Self { - *self - } -} -pub type MiracastReceiverInputDevices = *mut ::core::ffi::c_void; -pub type MiracastReceiverKeyboardDevice = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct MiracastReceiverListeningStatus(pub i32); -impl MiracastReceiverListeningStatus { - pub const NotListening: Self = Self(0i32); - pub const Listening: Self = Self(1i32); - pub const ConnectionPending: Self = Self(2i32); - pub const Connected: Self = Self(3i32); - pub const DisabledByPolicy: Self = Self(4i32); - pub const TemporarilyDisabled: Self = Self(5i32); -} -impl ::core::marker::Copy for MiracastReceiverListeningStatus {} -impl ::core::clone::Clone for MiracastReceiverListeningStatus { - fn clone(&self) -> Self { - *self - } -} -pub type MiracastReceiverMediaSourceCreatedEventArgs = *mut ::core::ffi::c_void; -pub type MiracastReceiverSession = *mut ::core::ffi::c_void; -pub type MiracastReceiverSessionStartResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct MiracastReceiverSessionStartStatus(pub i32); -impl MiracastReceiverSessionStartStatus { - pub const Success: Self = Self(0i32); - pub const UnknownFailure: Self = Self(1i32); - pub const MiracastNotSupported: Self = Self(2i32); - pub const AccessDenied: Self = Self(3i32); -} -impl ::core::marker::Copy for MiracastReceiverSessionStartStatus {} -impl ::core::clone::Clone for MiracastReceiverSessionStartStatus { - fn clone(&self) -> Self { - *self - } -} -pub type MiracastReceiverSettings = *mut ::core::ffi::c_void; -pub type MiracastReceiverStatus = *mut ::core::ffi::c_void; -pub type MiracastReceiverStreamControl = *mut ::core::ffi::c_void; -pub type MiracastReceiverVideoStreamSettings = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct MiracastReceiverWiFiStatus(pub i32); -impl MiracastReceiverWiFiStatus { - pub const MiracastSupportUndetermined: Self = Self(0i32); - pub const MiracastNotSupported: Self = Self(1i32); - pub const MiracastSupportNotOptimized: Self = Self(2i32); - pub const MiracastSupported: Self = Self(3i32); -} -impl ::core::marker::Copy for MiracastReceiverWiFiStatus {} -impl ::core::clone::Clone for MiracastReceiverWiFiStatus { - fn clone(&self) -> Self { - *self - } -} -pub type MiracastTransmitter = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct MiracastTransmitterAuthorizationStatus(pub i32); -impl MiracastTransmitterAuthorizationStatus { - pub const Undecided: Self = Self(0i32); - pub const Allowed: Self = Self(1i32); - pub const AlwaysPrompt: Self = Self(2i32); - pub const Blocked: Self = Self(3i32); -} -impl ::core::marker::Copy for MiracastTransmitterAuthorizationStatus {} -impl ::core::clone::Clone for MiracastTransmitterAuthorizationStatus { - fn clone(&self) -> Self { - *self - } -} |