diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Networking/Proximity/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Networking/Proximity/mod.rs | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/vendor/windows-sys/src/Windows/Networking/Proximity/mod.rs b/vendor/windows-sys/src/Windows/Networking/Proximity/mod.rs deleted file mode 100644 index 1a15ac9a1..000000000 --- a/vendor/windows-sys/src/Windows/Networking/Proximity/mod.rs +++ /dev/null @@ -1,72 +0,0 @@ -pub type ConnectionRequestedEventArgs = *mut ::core::ffi::c_void; -pub type DeviceArrivedEventHandler = *mut ::core::ffi::c_void; -pub type DeviceDepartedEventHandler = *mut ::core::ffi::c_void; -pub type MessageReceivedHandler = *mut ::core::ffi::c_void; -pub type MessageTransmittedHandler = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Networking_Proximity\"`*"] -#[repr(transparent)] -pub struct PeerDiscoveryTypes(pub u32); -impl PeerDiscoveryTypes { - pub const None: Self = Self(0u32); - pub const Browse: Self = Self(1u32); - pub const Triggered: Self = Self(2u32); -} -impl ::core::marker::Copy for PeerDiscoveryTypes {} -impl ::core::clone::Clone for PeerDiscoveryTypes { - fn clone(&self) -> Self { - *self - } -} -pub type PeerInformation = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Networking_Proximity\"`*"] -#[repr(transparent)] -pub struct PeerRole(pub i32); -impl PeerRole { - pub const Peer: Self = Self(0i32); - pub const Host: Self = Self(1i32); - pub const Client: Self = Self(2i32); -} -impl ::core::marker::Copy for PeerRole {} -impl ::core::clone::Clone for PeerRole { - fn clone(&self) -> Self { - *self - } -} -pub type PeerWatcher = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Networking_Proximity\"`*"] -#[repr(transparent)] -pub struct PeerWatcherStatus(pub i32); -impl PeerWatcherStatus { - pub const Created: Self = Self(0i32); - pub const Started: Self = Self(1i32); - pub const EnumerationCompleted: Self = Self(2i32); - pub const Stopping: Self = Self(3i32); - pub const Stopped: Self = Self(4i32); - pub const Aborted: Self = Self(5i32); -} -impl ::core::marker::Copy for PeerWatcherStatus {} -impl ::core::clone::Clone for PeerWatcherStatus { - fn clone(&self) -> Self { - *self - } -} -pub type ProximityDevice = *mut ::core::ffi::c_void; -pub type ProximityMessage = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Networking_Proximity\"`*"] -#[repr(transparent)] -pub struct TriggeredConnectState(pub i32); -impl TriggeredConnectState { - pub const PeerFound: Self = Self(0i32); - pub const Listening: Self = Self(1i32); - pub const Connecting: Self = Self(2i32); - pub const Completed: Self = Self(3i32); - pub const Canceled: Self = Self(4i32); - pub const Failed: Self = Self(5i32); -} -impl ::core::marker::Copy for TriggeredConnectState {} -impl ::core::clone::Clone for TriggeredConnectState { - fn clone(&self) -> Self { - *self - } -} -pub type TriggeredConnectionStateChangedEventArgs = *mut ::core::ffi::c_void; |