diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/System/Diagnostics/DevicePortal')
-rw-r--r-- | vendor/windows-sys/src/Windows/System/Diagnostics/DevicePortal/mod.rs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/System/Diagnostics/DevicePortal/mod.rs b/vendor/windows-sys/src/Windows/System/Diagnostics/DevicePortal/mod.rs new file mode 100644 index 000000000..2b266dd27 --- /dev/null +++ b/vendor/windows-sys/src/Windows/System/Diagnostics/DevicePortal/mod.rs @@ -0,0 +1,20 @@ +pub type DevicePortalConnection = *mut ::core::ffi::c_void; +pub type DevicePortalConnectionClosedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"System_Diagnostics_DevicePortal\"`*"] +#[repr(transparent)] +pub struct DevicePortalConnectionClosedReason(pub i32); +impl DevicePortalConnectionClosedReason { + pub const Unknown: Self = Self(0i32); + pub const ResourceLimitsExceeded: Self = Self(1i32); + pub const ProtocolError: Self = Self(2i32); + pub const NotAuthorized: Self = Self(3i32); + pub const UserNotPresent: Self = Self(4i32); + pub const ServiceTerminated: Self = Self(5i32); +} +impl ::core::marker::Copy for DevicePortalConnectionClosedReason {} +impl ::core::clone::Clone for DevicePortalConnectionClosedReason { + fn clone(&self) -> Self { + *self + } +} +pub type DevicePortalConnectionRequestReceivedEventArgs = *mut ::core::ffi::c_void; |