diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Media/DialProtocol')
-rw-r--r-- | vendor/windows-sys/src/Windows/Media/DialProtocol/mod.rs | 70 |
1 files changed, 70 insertions, 0 deletions
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; |