diff options
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Devices/WiFiDirect')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Devices/WiFiDirect/Services/mod.rs | 109 | ||||
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Devices/WiFiDirect/mod.rs | 104 |
2 files changed, 0 insertions, 213 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Devices/WiFiDirect/Services/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Devices/WiFiDirect/Services/mod.rs deleted file mode 100644 index 8d3e139c2..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Devices/WiFiDirect/Services/mod.rs +++ /dev/null @@ -1,109 +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 WiFiDirectService = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct WiFiDirectServiceAdvertisementStatus(pub i32); -impl WiFiDirectServiceAdvertisementStatus { - pub const Created: Self = Self(0i32); - pub const Started: Self = Self(1i32); - pub const Stopped: Self = Self(2i32); - pub const Aborted: Self = Self(3i32); -} -impl ::core::marker::Copy for WiFiDirectServiceAdvertisementStatus {} -impl ::core::clone::Clone for WiFiDirectServiceAdvertisementStatus { - fn clone(&self) -> Self { - *self - } -} -pub type WiFiDirectServiceAdvertiser = *mut ::core::ffi::c_void; -pub type WiFiDirectServiceAutoAcceptSessionConnectedEventArgs = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct WiFiDirectServiceConfigurationMethod(pub i32); -impl WiFiDirectServiceConfigurationMethod { - pub const Default: Self = Self(0i32); - pub const PinDisplay: Self = Self(1i32); - pub const PinEntry: Self = Self(2i32); -} -impl ::core::marker::Copy for WiFiDirectServiceConfigurationMethod {} -impl ::core::clone::Clone for WiFiDirectServiceConfigurationMethod { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct WiFiDirectServiceError(pub i32); -impl WiFiDirectServiceError { - pub const Success: Self = Self(0i32); - pub const RadioNotAvailable: Self = Self(1i32); - pub const ResourceInUse: Self = Self(2i32); - pub const UnsupportedHardware: Self = Self(3i32); - pub const NoHardware: Self = Self(4i32); -} -impl ::core::marker::Copy for WiFiDirectServiceError {} -impl ::core::clone::Clone for WiFiDirectServiceError { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct WiFiDirectServiceIPProtocol(pub i32); -impl WiFiDirectServiceIPProtocol { - pub const Tcp: Self = Self(6i32); - pub const Udp: Self = Self(17i32); -} -impl ::core::marker::Copy for WiFiDirectServiceIPProtocol {} -impl ::core::clone::Clone for WiFiDirectServiceIPProtocol { - fn clone(&self) -> Self { - *self - } -} -pub type WiFiDirectServiceProvisioningInfo = *mut ::core::ffi::c_void; -pub type WiFiDirectServiceRemotePortAddedEventArgs = *mut ::core::ffi::c_void; -pub type WiFiDirectServiceSession = *mut ::core::ffi::c_void; -pub type WiFiDirectServiceSessionDeferredEventArgs = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct WiFiDirectServiceSessionErrorStatus(pub i32); -impl WiFiDirectServiceSessionErrorStatus { - pub const Ok: Self = Self(0i32); - pub const Disassociated: Self = Self(1i32); - pub const LocalClose: Self = Self(2i32); - pub const RemoteClose: Self = Self(3i32); - pub const SystemFailure: Self = Self(4i32); - pub const NoResponseFromRemote: Self = Self(5i32); -} -impl ::core::marker::Copy for WiFiDirectServiceSessionErrorStatus {} -impl ::core::clone::Clone for WiFiDirectServiceSessionErrorStatus { - fn clone(&self) -> Self { - *self - } -} -pub type WiFiDirectServiceSessionRequest = *mut ::core::ffi::c_void; -pub type WiFiDirectServiceSessionRequestedEventArgs = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct WiFiDirectServiceSessionStatus(pub i32); -impl WiFiDirectServiceSessionStatus { - pub const Closed: Self = Self(0i32); - pub const Initiated: Self = Self(1i32); - pub const Requested: Self = Self(2i32); - pub const Open: Self = Self(3i32); -} -impl ::core::marker::Copy for WiFiDirectServiceSessionStatus {} -impl ::core::clone::Clone for WiFiDirectServiceSessionStatus { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct WiFiDirectServiceStatus(pub i32); -impl WiFiDirectServiceStatus { - pub const Available: Self = Self(0i32); - pub const Busy: Self = Self(1i32); - pub const Custom: Self = Self(2i32); -} -impl ::core::marker::Copy for WiFiDirectServiceStatus {} -impl ::core::clone::Clone for WiFiDirectServiceStatus { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys-0.28.0/src/Windows/Devices/WiFiDirect/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Devices/WiFiDirect/mod.rs deleted file mode 100644 index 2e3c64581..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Devices/WiFiDirect/mod.rs +++ /dev/null @@ -1,104 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Devices_WiFiDirect_Services")] -pub mod Services; -#[link(name = "windows")] -extern "system" {} -pub type WiFiDirectAdvertisement = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct WiFiDirectAdvertisementListenStateDiscoverability(pub i32); -impl WiFiDirectAdvertisementListenStateDiscoverability { - pub const None: Self = Self(0i32); - pub const Normal: Self = Self(1i32); - pub const Intensive: Self = Self(2i32); -} -impl ::core::marker::Copy for WiFiDirectAdvertisementListenStateDiscoverability {} -impl ::core::clone::Clone for WiFiDirectAdvertisementListenStateDiscoverability { - fn clone(&self) -> Self { - *self - } -} -pub type WiFiDirectAdvertisementPublisher = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct WiFiDirectAdvertisementPublisherStatus(pub i32); -impl WiFiDirectAdvertisementPublisherStatus { - pub const Created: Self = Self(0i32); - pub const Started: Self = Self(1i32); - pub const Stopped: Self = Self(2i32); - pub const Aborted: Self = Self(3i32); -} -impl ::core::marker::Copy for WiFiDirectAdvertisementPublisherStatus {} -impl ::core::clone::Clone for WiFiDirectAdvertisementPublisherStatus { - fn clone(&self) -> Self { - *self - } -} -pub type WiFiDirectAdvertisementPublisherStatusChangedEventArgs = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct WiFiDirectConfigurationMethod(pub i32); -impl WiFiDirectConfigurationMethod { - pub const ProvidePin: Self = Self(0i32); - pub const DisplayPin: Self = Self(1i32); - pub const PushButton: Self = Self(2i32); -} -impl ::core::marker::Copy for WiFiDirectConfigurationMethod {} -impl ::core::clone::Clone for WiFiDirectConfigurationMethod { - fn clone(&self) -> Self { - *self - } -} -pub type WiFiDirectConnectionListener = *mut ::core::ffi::c_void; -pub type WiFiDirectConnectionParameters = *mut ::core::ffi::c_void; -pub type WiFiDirectConnectionRequest = *mut ::core::ffi::c_void; -pub type WiFiDirectConnectionRequestedEventArgs = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct WiFiDirectConnectionStatus(pub i32); -impl WiFiDirectConnectionStatus { - pub const Disconnected: Self = Self(0i32); - pub const Connected: Self = Self(1i32); -} -impl ::core::marker::Copy for WiFiDirectConnectionStatus {} -impl ::core::clone::Clone for WiFiDirectConnectionStatus { - fn clone(&self) -> Self { - *self - } -} -pub type WiFiDirectDevice = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct WiFiDirectDeviceSelectorType(pub i32); -impl WiFiDirectDeviceSelectorType { - pub const DeviceInterface: Self = Self(0i32); - pub const AssociationEndpoint: Self = Self(1i32); -} -impl ::core::marker::Copy for WiFiDirectDeviceSelectorType {} -impl ::core::clone::Clone for WiFiDirectDeviceSelectorType { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct WiFiDirectError(pub i32); -impl WiFiDirectError { - pub const Success: Self = Self(0i32); - pub const RadioNotAvailable: Self = Self(1i32); - pub const ResourceInUse: Self = Self(2i32); -} -impl ::core::marker::Copy for WiFiDirectError {} -impl ::core::clone::Clone for WiFiDirectError { - fn clone(&self) -> Self { - *self - } -} -pub type WiFiDirectInformationElement = *mut ::core::ffi::c_void; -pub type WiFiDirectLegacySettings = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct WiFiDirectPairingProcedure(pub i32); -impl WiFiDirectPairingProcedure { - pub const GroupOwnerNegotiation: Self = Self(0i32); - pub const Invitation: Self = Self(1i32); -} -impl ::core::marker::Copy for WiFiDirectPairingProcedure {} -impl ::core::clone::Clone for WiFiDirectPairingProcedure { - fn clone(&self) -> Self { - *self - } -} |