windows-sys 0.27.0

Rust for Windows
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[link(name = "windows")]
extern "system" {}
#[repr(transparent)]
pub struct AttributedNetworkUsage(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for AttributedNetworkUsage {}
impl ::core::clone::Clone for AttributedNetworkUsage {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct CellularApnAuthenticationType(pub i32);
impl CellularApnAuthenticationType {
    pub const None: Self = Self(0i32);
    pub const Pap: Self = Self(1i32);
    pub const Chap: Self = Self(2i32);
    pub const Mschapv2: Self = Self(3i32);
}
impl ::core::marker::Copy for CellularApnAuthenticationType {}
impl ::core::clone::Clone for CellularApnAuthenticationType {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct CellularApnContext(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for CellularApnContext {}
impl ::core::clone::Clone for CellularApnContext {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ConnectionCost(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ConnectionCost {}
impl ::core::clone::Clone for ConnectionCost {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ConnectionProfile(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ConnectionProfile {}
impl ::core::clone::Clone for ConnectionProfile {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ConnectionProfileDeleteStatus(pub i32);
impl ConnectionProfileDeleteStatus {
    pub const Success: Self = Self(0i32);
    pub const DeniedByUser: Self = Self(1i32);
    pub const DeniedBySystem: Self = Self(2i32);
    pub const UnknownError: Self = Self(3i32);
}
impl ::core::marker::Copy for ConnectionProfileDeleteStatus {}
impl ::core::clone::Clone for ConnectionProfileDeleteStatus {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ConnectionProfileFilter(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ConnectionProfileFilter {}
impl ::core::clone::Clone for ConnectionProfileFilter {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ConnectionSession(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ConnectionSession {}
impl ::core::clone::Clone for ConnectionSession {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ConnectivityInterval(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ConnectivityInterval {}
impl ::core::clone::Clone for ConnectivityInterval {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct DataPlanStatus(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for DataPlanStatus {}
impl ::core::clone::Clone for DataPlanStatus {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct DataPlanUsage(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for DataPlanUsage {}
impl ::core::clone::Clone for DataPlanUsage {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct DataUsage(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for DataUsage {}
impl ::core::clone::Clone for DataUsage {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct DataUsageGranularity(pub i32);
impl DataUsageGranularity {
    pub const PerMinute: Self = Self(0i32);
    pub const PerHour: Self = Self(1i32);
    pub const PerDay: Self = Self(2i32);
    pub const Total: Self = Self(3i32);
}
impl ::core::marker::Copy for DataUsageGranularity {}
impl ::core::clone::Clone for DataUsageGranularity {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct DomainConnectivityLevel(pub i32);
impl DomainConnectivityLevel {
    pub const None: Self = Self(0i32);
    pub const Unauthenticated: Self = Self(1i32);
    pub const Authenticated: Self = Self(2i32);
}
impl ::core::marker::Copy for DomainConnectivityLevel {}
impl ::core::clone::Clone for DomainConnectivityLevel {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAttributedNetworkUsage(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAttributedNetworkUsage {}
impl ::core::clone::Clone for IAttributedNetworkUsage {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ICellularApnContext(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ICellularApnContext {}
impl ::core::clone::Clone for ICellularApnContext {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ICellularApnContext2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ICellularApnContext2 {}
impl ::core::clone::Clone for ICellularApnContext2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IConnectionCost(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IConnectionCost {}
impl ::core::clone::Clone for IConnectionCost {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IConnectionCost2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IConnectionCost2 {}
impl ::core::clone::Clone for IConnectionCost2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IConnectionProfile(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IConnectionProfile {}
impl ::core::clone::Clone for IConnectionProfile {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IConnectionProfile2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IConnectionProfile2 {}
impl ::core::clone::Clone for IConnectionProfile2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IConnectionProfile3(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IConnectionProfile3 {}
impl ::core::clone::Clone for IConnectionProfile3 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IConnectionProfile4(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IConnectionProfile4 {}
impl ::core::clone::Clone for IConnectionProfile4 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IConnectionProfile5(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IConnectionProfile5 {}
impl ::core::clone::Clone for IConnectionProfile5 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IConnectionProfileFilter(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IConnectionProfileFilter {}
impl ::core::clone::Clone for IConnectionProfileFilter {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IConnectionProfileFilter2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IConnectionProfileFilter2 {}
impl ::core::clone::Clone for IConnectionProfileFilter2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IConnectionProfileFilter3(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IConnectionProfileFilter3 {}
impl ::core::clone::Clone for IConnectionProfileFilter3 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IConnectionSession(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IConnectionSession {}
impl ::core::clone::Clone for IConnectionSession {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IConnectivityInterval(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IConnectivityInterval {}
impl ::core::clone::Clone for IConnectivityInterval {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IConnectivityManagerStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IConnectivityManagerStatics {}
impl ::core::clone::Clone for IConnectivityManagerStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IDataPlanStatus(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IDataPlanStatus {}
impl ::core::clone::Clone for IDataPlanStatus {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IDataPlanUsage(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IDataPlanUsage {}
impl ::core::clone::Clone for IDataPlanUsage {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IDataUsage(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IDataUsage {}
impl ::core::clone::Clone for IDataUsage {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IIPInformation(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IIPInformation {}
impl ::core::clone::Clone for IIPInformation {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILanIdentifier(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILanIdentifier {}
impl ::core::clone::Clone for ILanIdentifier {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILanIdentifierData(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILanIdentifierData {}
impl ::core::clone::Clone for ILanIdentifierData {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct INetworkAdapter(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for INetworkAdapter {}
impl ::core::clone::Clone for INetworkAdapter {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct INetworkInformationStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for INetworkInformationStatics {}
impl ::core::clone::Clone for INetworkInformationStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct INetworkInformationStatics2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for INetworkInformationStatics2 {}
impl ::core::clone::Clone for INetworkInformationStatics2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct INetworkItem(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for INetworkItem {}
impl ::core::clone::Clone for INetworkItem {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct INetworkSecuritySettings(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for INetworkSecuritySettings {}
impl ::core::clone::Clone for INetworkSecuritySettings {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct INetworkStateChangeEventDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for INetworkStateChangeEventDetails {}
impl ::core::clone::Clone for INetworkStateChangeEventDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct INetworkStateChangeEventDetails2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for INetworkStateChangeEventDetails2 {}
impl ::core::clone::Clone for INetworkStateChangeEventDetails2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct INetworkUsage(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for INetworkUsage {}
impl ::core::clone::Clone for INetworkUsage {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPInformation(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPInformation {}
impl ::core::clone::Clone for IPInformation {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IProviderNetworkUsage(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IProviderNetworkUsage {}
impl ::core::clone::Clone for IProviderNetworkUsage {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IProxyConfiguration(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IProxyConfiguration {}
impl ::core::clone::Clone for IProxyConfiguration {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IRoutePolicy(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IRoutePolicy {}
impl ::core::clone::Clone for IRoutePolicy {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IRoutePolicyFactory(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IRoutePolicyFactory {}
impl ::core::clone::Clone for IRoutePolicyFactory {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IWlanConnectionProfileDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IWlanConnectionProfileDetails {}
impl ::core::clone::Clone for IWlanConnectionProfileDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IWwanConnectionProfileDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IWwanConnectionProfileDetails {}
impl ::core::clone::Clone for IWwanConnectionProfileDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IWwanConnectionProfileDetails2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IWwanConnectionProfileDetails2 {}
impl ::core::clone::Clone for IWwanConnectionProfileDetails2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct LanIdentifier(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for LanIdentifier {}
impl ::core::clone::Clone for LanIdentifier {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct LanIdentifierData(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for LanIdentifierData {}
impl ::core::clone::Clone for LanIdentifierData {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct NetworkAdapter(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for NetworkAdapter {}
impl ::core::clone::Clone for NetworkAdapter {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct NetworkAuthenticationType(pub i32);
impl NetworkAuthenticationType {
    pub const None: Self = Self(0i32);
    pub const Unknown: Self = Self(1i32);
    pub const Open80211: Self = Self(2i32);
    pub const SharedKey80211: Self = Self(3i32);
    pub const Wpa: Self = Self(4i32);
    pub const WpaPsk: Self = Self(5i32);
    pub const WpaNone: Self = Self(6i32);
    pub const Rsna: Self = Self(7i32);
    pub const RsnaPsk: Self = Self(8i32);
    pub const Ihv: Self = Self(9i32);
    pub const Wpa3: Self = Self(10i32);
    pub const Wpa3Enterprise192Bits: Self = Self(10i32);
    pub const Wpa3Sae: Self = Self(11i32);
    pub const Owe: Self = Self(12i32);
    pub const Wpa3Enterprise: Self = Self(13i32);
}
impl ::core::marker::Copy for NetworkAuthenticationType {}
impl ::core::clone::Clone for NetworkAuthenticationType {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct NetworkConnectivityLevel(pub i32);
impl NetworkConnectivityLevel {
    pub const None: Self = Self(0i32);
    pub const LocalAccess: Self = Self(1i32);
    pub const ConstrainedInternetAccess: Self = Self(2i32);
    pub const InternetAccess: Self = Self(3i32);
}
impl ::core::marker::Copy for NetworkConnectivityLevel {}
impl ::core::clone::Clone for NetworkConnectivityLevel {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct NetworkCostType(pub i32);
impl NetworkCostType {
    pub const Unknown: Self = Self(0i32);
    pub const Unrestricted: Self = Self(1i32);
    pub const Fixed: Self = Self(2i32);
    pub const Variable: Self = Self(3i32);
}
impl ::core::marker::Copy for NetworkCostType {}
impl ::core::clone::Clone for NetworkCostType {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct NetworkEncryptionType(pub i32);
impl NetworkEncryptionType {
    pub const None: Self = Self(0i32);
    pub const Unknown: Self = Self(1i32);
    pub const Wep: Self = Self(2i32);
    pub const Wep40: Self = Self(3i32);
    pub const Wep104: Self = Self(4i32);
    pub const Tkip: Self = Self(5i32);
    pub const Ccmp: Self = Self(6i32);
    pub const WpaUseGroup: Self = Self(7i32);
    pub const RsnUseGroup: Self = Self(8i32);
    pub const Ihv: Self = Self(9i32);
    pub const Gcmp: Self = Self(10i32);
    pub const Gcmp256: Self = Self(11i32);
}
impl ::core::marker::Copy for NetworkEncryptionType {}
impl ::core::clone::Clone for NetworkEncryptionType {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct NetworkItem(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for NetworkItem {}
impl ::core::clone::Clone for NetworkItem {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct NetworkSecuritySettings(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for NetworkSecuritySettings {}
impl ::core::clone::Clone for NetworkSecuritySettings {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct NetworkStateChangeEventDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for NetworkStateChangeEventDetails {}
impl ::core::clone::Clone for NetworkStateChangeEventDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct NetworkStatusChangedEventHandler(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for NetworkStatusChangedEventHandler {}
impl ::core::clone::Clone for NetworkStatusChangedEventHandler {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct NetworkTypes(pub u32);
impl NetworkTypes {
    pub const None: Self = Self(0u32);
    pub const Internet: Self = Self(1u32);
    pub const PrivateNetwork: Self = Self(2u32);
}
impl ::core::marker::Copy for NetworkTypes {}
impl ::core::clone::Clone for NetworkTypes {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct NetworkUsage(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for NetworkUsage {}
impl ::core::clone::Clone for NetworkUsage {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(C)]
pub struct NetworkUsageStates {
    pub Roaming: TriStates,
    pub Shared: TriStates,
}
impl ::core::marker::Copy for NetworkUsageStates {}
impl ::core::clone::Clone for NetworkUsageStates {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ProviderNetworkUsage(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ProviderNetworkUsage {}
impl ::core::clone::Clone for ProviderNetworkUsage {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ProxyConfiguration(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ProxyConfiguration {}
impl ::core::clone::Clone for ProxyConfiguration {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct RoamingStates(pub u32);
impl RoamingStates {
    pub const None: Self = Self(0u32);
    pub const NotRoaming: Self = Self(1u32);
    pub const Roaming: Self = Self(2u32);
}
impl ::core::marker::Copy for RoamingStates {}
impl ::core::clone::Clone for RoamingStates {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct RoutePolicy(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for RoutePolicy {}
impl ::core::clone::Clone for RoutePolicy {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct TriStates(pub i32);
impl TriStates {
    pub const DoNotCare: Self = Self(0i32);
    pub const No: Self = Self(1i32);
    pub const Yes: Self = Self(2i32);
}
impl ::core::marker::Copy for TriStates {}
impl ::core::clone::Clone for TriStates {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct WlanConnectionProfileDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for WlanConnectionProfileDetails {}
impl ::core::clone::Clone for WlanConnectionProfileDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct WwanConnectionProfileDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for WwanConnectionProfileDetails {}
impl ::core::clone::Clone for WwanConnectionProfileDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct WwanDataClass(pub u32);
impl WwanDataClass {
    pub const None: Self = Self(0u32);
    pub const Gprs: Self = Self(1u32);
    pub const Edge: Self = Self(2u32);
    pub const Umts: Self = Self(4u32);
    pub const Hsdpa: Self = Self(8u32);
    pub const Hsupa: Self = Self(16u32);
    pub const LteAdvanced: Self = Self(32u32);
    pub const Cdma1xRtt: Self = Self(65536u32);
    pub const Cdma1xEvdo: Self = Self(131072u32);
    pub const Cdma1xEvdoRevA: Self = Self(262144u32);
    pub const Cdma1xEvdv: Self = Self(524288u32);
    pub const Cdma3xRtt: Self = Self(1048576u32);
    pub const Cdma1xEvdoRevB: Self = Self(2097152u32);
    pub const CdmaUmb: Self = Self(4194304u32);
    pub const Custom: Self = Self(2147483648u32);
}
impl ::core::marker::Copy for WwanDataClass {}
impl ::core::clone::Clone for WwanDataClass {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct WwanNetworkIPKind(pub i32);
impl WwanNetworkIPKind {
    pub const None: Self = Self(0i32);
    pub const Ipv4: Self = Self(1i32);
    pub const Ipv6: Self = Self(2i32);
    pub const Ipv4v6: Self = Self(3i32);
    pub const Ipv4v6v4Xlat: Self = Self(4i32);
}
impl ::core::marker::Copy for WwanNetworkIPKind {}
impl ::core::clone::Clone for WwanNetworkIPKind {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct WwanNetworkRegistrationState(pub i32);
impl WwanNetworkRegistrationState {
    pub const None: Self = Self(0i32);
    pub const Deregistered: Self = Self(1i32);
    pub const Searching: Self = Self(2i32);
    pub const Home: Self = Self(3i32);
    pub const Roaming: Self = Self(4i32);
    pub const Partner: Self = Self(5i32);
    pub const Denied: Self = Self(6i32);
}
impl ::core::marker::Copy for WwanNetworkRegistrationState {}
impl ::core::clone::Clone for WwanNetworkRegistrationState {
    fn clone(&self) -> Self {
        *self
    }
}