]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Devices/WiFi/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Devices / WiFi / mod.rs
CommitLineData
04454e1e 1#[doc = "*Required features: `\"Devices_WiFi\"`*"]
5e7ed085
FG
2#[repr(transparent)]
3pub struct WiFiAccessStatus(pub i32);
4impl WiFiAccessStatus {
5 pub const Unspecified: Self = Self(0i32);
6 pub const Allowed: Self = Self(1i32);
7 pub const DeniedByUser: Self = Self(2i32);
8 pub const DeniedBySystem: Self = Self(3i32);
9}
10impl ::core::marker::Copy for WiFiAccessStatus {}
11impl ::core::clone::Clone for WiFiAccessStatus {
12 fn clone(&self) -> Self {
13 *self
14 }
15}
16pub type WiFiAdapter = *mut ::core::ffi::c_void;
17pub type WiFiAvailableNetwork = *mut ::core::ffi::c_void;
04454e1e 18#[doc = "*Required features: `\"Devices_WiFi\"`*"]
5e7ed085
FG
19#[repr(transparent)]
20pub struct WiFiConnectionMethod(pub i32);
21impl WiFiConnectionMethod {
22 pub const Default: Self = Self(0i32);
23 pub const WpsPin: Self = Self(1i32);
24 pub const WpsPushButton: Self = Self(2i32);
25}
26impl ::core::marker::Copy for WiFiConnectionMethod {}
27impl ::core::clone::Clone for WiFiConnectionMethod {
28 fn clone(&self) -> Self {
29 *self
30 }
31}
32pub type WiFiConnectionResult = *mut ::core::ffi::c_void;
04454e1e 33#[doc = "*Required features: `\"Devices_WiFi\"`*"]
5e7ed085
FG
34#[repr(transparent)]
35pub struct WiFiConnectionStatus(pub i32);
36impl WiFiConnectionStatus {
37 pub const UnspecifiedFailure: Self = Self(0i32);
38 pub const Success: Self = Self(1i32);
39 pub const AccessRevoked: Self = Self(2i32);
40 pub const InvalidCredential: Self = Self(3i32);
41 pub const NetworkNotAvailable: Self = Self(4i32);
42 pub const Timeout: Self = Self(5i32);
43 pub const UnsupportedAuthenticationProtocol: Self = Self(6i32);
44}
45impl ::core::marker::Copy for WiFiConnectionStatus {}
46impl ::core::clone::Clone for WiFiConnectionStatus {
47 fn clone(&self) -> Self {
48 *self
49 }
50}
04454e1e 51#[doc = "*Required features: `\"Devices_WiFi\"`*"]
5e7ed085
FG
52#[repr(transparent)]
53pub struct WiFiNetworkKind(pub i32);
54impl WiFiNetworkKind {
55 pub const Any: Self = Self(0i32);
56 pub const Infrastructure: Self = Self(1i32);
57 pub const Adhoc: Self = Self(2i32);
58}
59impl ::core::marker::Copy for WiFiNetworkKind {}
60impl ::core::clone::Clone for WiFiNetworkKind {
61 fn clone(&self) -> Self {
62 *self
63 }
64}
65pub type WiFiNetworkReport = *mut ::core::ffi::c_void;
04454e1e 66#[doc = "*Required features: `\"Devices_WiFi\"`*"]
5e7ed085
FG
67#[repr(transparent)]
68pub struct WiFiPhyKind(pub i32);
69impl WiFiPhyKind {
70 pub const Unknown: Self = Self(0i32);
71 pub const Fhss: Self = Self(1i32);
72 pub const Dsss: Self = Self(2i32);
73 pub const IRBaseband: Self = Self(3i32);
74 pub const Ofdm: Self = Self(4i32);
75 pub const Hrdsss: Self = Self(5i32);
76 pub const Erp: Self = Self(6i32);
77 pub const HT: Self = Self(7i32);
78 pub const Vht: Self = Self(8i32);
79 pub const Dmg: Self = Self(9i32);
80 pub const HE: Self = Self(10i32);
81}
82impl ::core::marker::Copy for WiFiPhyKind {}
83impl ::core::clone::Clone for WiFiPhyKind {
84 fn clone(&self) -> Self {
85 *self
86 }
87}
04454e1e 88#[doc = "*Required features: `\"Devices_WiFi\"`*"]
5e7ed085
FG
89#[repr(transparent)]
90pub struct WiFiReconnectionKind(pub i32);
91impl WiFiReconnectionKind {
92 pub const Automatic: Self = Self(0i32);
93 pub const Manual: Self = Self(1i32);
94}
95impl ::core::marker::Copy for WiFiReconnectionKind {}
96impl ::core::clone::Clone for WiFiReconnectionKind {
97 fn clone(&self) -> Self {
98 *self
99 }
100}
101pub type WiFiWpsConfigurationResult = *mut ::core::ffi::c_void;
04454e1e 102#[doc = "*Required features: `\"Devices_WiFi\"`*"]
5e7ed085
FG
103#[repr(transparent)]
104pub struct WiFiWpsConfigurationStatus(pub i32);
105impl WiFiWpsConfigurationStatus {
106 pub const UnspecifiedFailure: Self = Self(0i32);
107 pub const Success: Self = Self(1i32);
108 pub const Timeout: Self = Self(2i32);
109}
110impl ::core::marker::Copy for WiFiWpsConfigurationStatus {}
111impl ::core::clone::Clone for WiFiWpsConfigurationStatus {
112 fn clone(&self) -> Self {
113 *self
114 }
115}
04454e1e 116#[doc = "*Required features: `\"Devices_WiFi\"`*"]
5e7ed085
FG
117#[repr(transparent)]
118pub struct WiFiWpsKind(pub i32);
119impl WiFiWpsKind {
120 pub const Unknown: Self = Self(0i32);
121 pub const Pin: Self = Self(1i32);
122 pub const PushButton: Self = Self(2i32);
123 pub const Nfc: Self = Self(3i32);
124 pub const Ethernet: Self = Self(4i32);
125 pub const Usb: Self = Self(5i32);
126}
127impl ::core::marker::Copy for WiFiWpsKind {}
128impl ::core::clone::Clone for WiFiWpsKind {
129 fn clone(&self) -> Self {
130 *self
131 }
132}