diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
commit | 698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch) | |
tree | 173a775858bd501c378080a10dca74132f05bc50 /vendor/windows-sys/src/Windows/Devices/WiFi/mod.rs | |
parent | Initial commit. (diff) | |
download | rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip |
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Devices/WiFi/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Devices/WiFi/mod.rs | 132 |
1 files changed, 132 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Devices/WiFi/mod.rs b/vendor/windows-sys/src/Windows/Devices/WiFi/mod.rs new file mode 100644 index 000000000..1b028e940 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Devices/WiFi/mod.rs @@ -0,0 +1,132 @@ +#[doc = "*Required features: `\"Devices_WiFi\"`*"] +#[repr(transparent)] +pub struct WiFiAccessStatus(pub i32); +impl WiFiAccessStatus { + pub const Unspecified: Self = Self(0i32); + pub const Allowed: Self = Self(1i32); + pub const DeniedByUser: Self = Self(2i32); + pub const DeniedBySystem: Self = Self(3i32); +} +impl ::core::marker::Copy for WiFiAccessStatus {} +impl ::core::clone::Clone for WiFiAccessStatus { + fn clone(&self) -> Self { + *self + } +} +pub type WiFiAdapter = *mut ::core::ffi::c_void; +pub type WiFiAvailableNetwork = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Devices_WiFi\"`*"] +#[repr(transparent)] +pub struct WiFiConnectionMethod(pub i32); +impl WiFiConnectionMethod { + pub const Default: Self = Self(0i32); + pub const WpsPin: Self = Self(1i32); + pub const WpsPushButton: Self = Self(2i32); +} +impl ::core::marker::Copy for WiFiConnectionMethod {} +impl ::core::clone::Clone for WiFiConnectionMethod { + fn clone(&self) -> Self { + *self + } +} +pub type WiFiConnectionResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Devices_WiFi\"`*"] +#[repr(transparent)] +pub struct WiFiConnectionStatus(pub i32); +impl WiFiConnectionStatus { + pub const UnspecifiedFailure: Self = Self(0i32); + pub const Success: Self = Self(1i32); + pub const AccessRevoked: Self = Self(2i32); + pub const InvalidCredential: Self = Self(3i32); + pub const NetworkNotAvailable: Self = Self(4i32); + pub const Timeout: Self = Self(5i32); + pub const UnsupportedAuthenticationProtocol: Self = Self(6i32); +} +impl ::core::marker::Copy for WiFiConnectionStatus {} +impl ::core::clone::Clone for WiFiConnectionStatus { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Devices_WiFi\"`*"] +#[repr(transparent)] +pub struct WiFiNetworkKind(pub i32); +impl WiFiNetworkKind { + pub const Any: Self = Self(0i32); + pub const Infrastructure: Self = Self(1i32); + pub const Adhoc: Self = Self(2i32); +} +impl ::core::marker::Copy for WiFiNetworkKind {} +impl ::core::clone::Clone for WiFiNetworkKind { + fn clone(&self) -> Self { + *self + } +} +pub type WiFiNetworkReport = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Devices_WiFi\"`*"] +#[repr(transparent)] +pub struct WiFiPhyKind(pub i32); +impl WiFiPhyKind { + pub const Unknown: Self = Self(0i32); + pub const Fhss: Self = Self(1i32); + pub const Dsss: Self = Self(2i32); + pub const IRBaseband: Self = Self(3i32); + pub const Ofdm: Self = Self(4i32); + pub const Hrdsss: Self = Self(5i32); + pub const Erp: Self = Self(6i32); + pub const HT: Self = Self(7i32); + pub const Vht: Self = Self(8i32); + pub const Dmg: Self = Self(9i32); + pub const HE: Self = Self(10i32); +} +impl ::core::marker::Copy for WiFiPhyKind {} +impl ::core::clone::Clone for WiFiPhyKind { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Devices_WiFi\"`*"] +#[repr(transparent)] +pub struct WiFiReconnectionKind(pub i32); +impl WiFiReconnectionKind { + pub const Automatic: Self = Self(0i32); + pub const Manual: Self = Self(1i32); +} +impl ::core::marker::Copy for WiFiReconnectionKind {} +impl ::core::clone::Clone for WiFiReconnectionKind { + fn clone(&self) -> Self { + *self + } +} +pub type WiFiWpsConfigurationResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Devices_WiFi\"`*"] +#[repr(transparent)] +pub struct WiFiWpsConfigurationStatus(pub i32); +impl WiFiWpsConfigurationStatus { + pub const UnspecifiedFailure: Self = Self(0i32); + pub const Success: Self = Self(1i32); + pub const Timeout: Self = Self(2i32); +} +impl ::core::marker::Copy for WiFiWpsConfigurationStatus {} +impl ::core::clone::Clone for WiFiWpsConfigurationStatus { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Devices_WiFi\"`*"] +#[repr(transparent)] +pub struct WiFiWpsKind(pub i32); +impl WiFiWpsKind { + pub const Unknown: Self = Self(0i32); + pub const Pin: Self = Self(1i32); + pub const PushButton: Self = Self(2i32); + pub const Nfc: Self = Self(3i32); + pub const Ethernet: Self = Self(4i32); + pub const Usb: Self = Self(5i32); +} +impl ::core::marker::Copy for WiFiWpsKind {} +impl ::core::clone::Clone for WiFiWpsKind { + fn clone(&self) -> Self { + *self + } +} |