diff options
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Networking/Proximity/mod.rs')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Networking/Proximity/mod.rs | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Networking/Proximity/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Networking/Proximity/mod.rs deleted file mode 100644 index 113828f90..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Networking/Proximity/mod.rs +++ /dev/null @@ -1,71 +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 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; -#[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; -#[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; -#[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; -#[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; |