From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- .../src/Windows/Media/DialProtocol/mod.rs | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 vendor/windows-sys/src/Windows/Media/DialProtocol/mod.rs (limited to 'vendor/windows-sys/src/Windows/Media/DialProtocol') diff --git a/vendor/windows-sys/src/Windows/Media/DialProtocol/mod.rs b/vendor/windows-sys/src/Windows/Media/DialProtocol/mod.rs new file mode 100644 index 000000000..e3b339f82 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Media/DialProtocol/mod.rs @@ -0,0 +1,70 @@ +pub type DialApp = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Media_DialProtocol\"`*"] +#[repr(transparent)] +pub struct DialAppLaunchResult(pub i32); +impl DialAppLaunchResult { + pub const Launched: Self = Self(0i32); + pub const FailedToLaunch: Self = Self(1i32); + pub const NotFound: Self = Self(2i32); + pub const NetworkFailure: Self = Self(3i32); +} +impl ::core::marker::Copy for DialAppLaunchResult {} +impl ::core::clone::Clone for DialAppLaunchResult { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Media_DialProtocol\"`*"] +#[repr(transparent)] +pub struct DialAppState(pub i32); +impl DialAppState { + pub const Unknown: Self = Self(0i32); + pub const Stopped: Self = Self(1i32); + pub const Running: Self = Self(2i32); + pub const NetworkFailure: Self = Self(3i32); +} +impl ::core::marker::Copy for DialAppState {} +impl ::core::clone::Clone for DialAppState { + fn clone(&self) -> Self { + *self + } +} +pub type DialAppStateDetails = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Media_DialProtocol\"`*"] +#[repr(transparent)] +pub struct DialAppStopResult(pub i32); +impl DialAppStopResult { + pub const Stopped: Self = Self(0i32); + pub const StopFailed: Self = Self(1i32); + pub const OperationNotSupported: Self = Self(2i32); + pub const NetworkFailure: Self = Self(3i32); +} +impl ::core::marker::Copy for DialAppStopResult {} +impl ::core::clone::Clone for DialAppStopResult { + fn clone(&self) -> Self { + *self + } +} +pub type DialDevice = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Media_DialProtocol\"`*"] +#[repr(transparent)] +pub struct DialDeviceDisplayStatus(pub i32); +impl DialDeviceDisplayStatus { + pub const None: Self = Self(0i32); + pub const Connecting: Self = Self(1i32); + pub const Connected: Self = Self(2i32); + pub const Disconnecting: Self = Self(3i32); + pub const Disconnected: Self = Self(4i32); + pub const Error: Self = Self(5i32); +} +impl ::core::marker::Copy for DialDeviceDisplayStatus {} +impl ::core::clone::Clone for DialDeviceDisplayStatus { + fn clone(&self) -> Self { + *self + } +} +pub type DialDevicePicker = *mut ::core::ffi::c_void; +pub type DialDevicePickerFilter = *mut ::core::ffi::c_void; +pub type DialDeviceSelectedEventArgs = *mut ::core::ffi::c_void; +pub type DialDisconnectButtonClickedEventArgs = *mut ::core::ffi::c_void; +pub type DialReceiverApp = *mut ::core::ffi::c_void; -- cgit v1.2.3