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
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
#![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 IVpnAppId(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnAppId {}
impl ::core::clone::Clone for IVpnAppId {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnAppIdFactory(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnAppIdFactory {}
impl ::core::clone::Clone for IVpnAppIdFactory {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnChannel(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnChannel {}
impl ::core::clone::Clone for IVpnChannel {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnChannel2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnChannel2 {}
impl ::core::clone::Clone for IVpnChannel2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnChannel4(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnChannel4 {}
impl ::core::clone::Clone for IVpnChannel4 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnChannel5(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnChannel5 {}
impl ::core::clone::Clone for IVpnChannel5 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnChannel6(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnChannel6 {}
impl ::core::clone::Clone for IVpnChannel6 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnChannelActivityEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnChannelActivityEventArgs {}
impl ::core::clone::Clone for IVpnChannelActivityEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnChannelActivityStateChangedArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnChannelActivityStateChangedArgs {}
impl ::core::clone::Clone for IVpnChannelActivityStateChangedArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnChannelConfiguration(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnChannelConfiguration {}
impl ::core::clone::Clone for IVpnChannelConfiguration {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnChannelConfiguration2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnChannelConfiguration2 {}
impl ::core::clone::Clone for IVpnChannelConfiguration2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnChannelStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnChannelStatics {}
impl ::core::clone::Clone for IVpnChannelStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnCredential(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnCredential {}
impl ::core::clone::Clone for IVpnCredential {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnCustomCheckBox(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnCustomCheckBox {}
impl ::core::clone::Clone for IVpnCustomCheckBox {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnCustomComboBox(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnCustomComboBox {}
impl ::core::clone::Clone for IVpnCustomComboBox {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnCustomEditBox(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnCustomEditBox {}
impl ::core::clone::Clone for IVpnCustomEditBox {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnCustomErrorBox(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnCustomErrorBox {}
impl ::core::clone::Clone for IVpnCustomErrorBox {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnCustomPrompt(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnCustomPrompt {}
impl ::core::clone::Clone for IVpnCustomPrompt {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnCustomPromptBooleanInput(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnCustomPromptBooleanInput {}
impl ::core::clone::Clone for IVpnCustomPromptBooleanInput {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnCustomPromptElement(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnCustomPromptElement {}
impl ::core::clone::Clone for IVpnCustomPromptElement {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnCustomPromptOptionSelector(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnCustomPromptOptionSelector {}
impl ::core::clone::Clone for IVpnCustomPromptOptionSelector {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnCustomPromptText(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnCustomPromptText {}
impl ::core::clone::Clone for IVpnCustomPromptText {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnCustomPromptTextInput(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnCustomPromptTextInput {}
impl ::core::clone::Clone for IVpnCustomPromptTextInput {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnCustomTextBox(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnCustomTextBox {}
impl ::core::clone::Clone for IVpnCustomTextBox {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnDomainNameAssignment(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnDomainNameAssignment {}
impl ::core::clone::Clone for IVpnDomainNameAssignment {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnDomainNameInfo(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnDomainNameInfo {}
impl ::core::clone::Clone for IVpnDomainNameInfo {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnDomainNameInfo2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnDomainNameInfo2 {}
impl ::core::clone::Clone for IVpnDomainNameInfo2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnDomainNameInfoFactory(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnDomainNameInfoFactory {}
impl ::core::clone::Clone for IVpnDomainNameInfoFactory {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnForegroundActivatedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnForegroundActivatedEventArgs {}
impl ::core::clone::Clone for IVpnForegroundActivatedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnForegroundActivationOperation(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnForegroundActivationOperation {}
impl ::core::clone::Clone for IVpnForegroundActivationOperation {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnInterfaceId(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnInterfaceId {}
impl ::core::clone::Clone for IVpnInterfaceId {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnInterfaceIdFactory(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnInterfaceIdFactory {}
impl ::core::clone::Clone for IVpnInterfaceIdFactory {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnManagementAgent(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnManagementAgent {}
impl ::core::clone::Clone for IVpnManagementAgent {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnNamespaceAssignment(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnNamespaceAssignment {}
impl ::core::clone::Clone for IVpnNamespaceAssignment {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnNamespaceInfo(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnNamespaceInfo {}
impl ::core::clone::Clone for IVpnNamespaceInfo {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnNamespaceInfoFactory(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnNamespaceInfoFactory {}
impl ::core::clone::Clone for IVpnNamespaceInfoFactory {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnNativeProfile(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnNativeProfile {}
impl ::core::clone::Clone for IVpnNativeProfile {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnNativeProfile2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnNativeProfile2 {}
impl ::core::clone::Clone for IVpnNativeProfile2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnPacketBuffer(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnPacketBuffer {}
impl ::core::clone::Clone for IVpnPacketBuffer {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnPacketBuffer2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnPacketBuffer2 {}
impl ::core::clone::Clone for IVpnPacketBuffer2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnPacketBuffer3(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnPacketBuffer3 {}
impl ::core::clone::Clone for IVpnPacketBuffer3 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnPacketBufferFactory(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnPacketBufferFactory {}
impl ::core::clone::Clone for IVpnPacketBufferFactory {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnPacketBufferList(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnPacketBufferList {}
impl ::core::clone::Clone for IVpnPacketBufferList {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnPacketBufferList2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnPacketBufferList2 {}
impl ::core::clone::Clone for IVpnPacketBufferList2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnPickedCredential(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnPickedCredential {}
impl ::core::clone::Clone for IVpnPickedCredential {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnPlugIn(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnPlugIn {}
impl ::core::clone::Clone for IVpnPlugIn {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnPlugInProfile(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnPlugInProfile {}
impl ::core::clone::Clone for IVpnPlugInProfile {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnPlugInProfile2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnPlugInProfile2 {}
impl ::core::clone::Clone for IVpnPlugInProfile2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnProfile(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnProfile {}
impl ::core::clone::Clone for IVpnProfile {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnRoute(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnRoute {}
impl ::core::clone::Clone for IVpnRoute {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnRouteAssignment(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnRouteAssignment {}
impl ::core::clone::Clone for IVpnRouteAssignment {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnRouteFactory(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnRouteFactory {}
impl ::core::clone::Clone for IVpnRouteFactory {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnSystemHealth(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnSystemHealth {}
impl ::core::clone::Clone for IVpnSystemHealth {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnTrafficFilter(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnTrafficFilter {}
impl ::core::clone::Clone for IVpnTrafficFilter {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnTrafficFilterAssignment(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnTrafficFilterAssignment {}
impl ::core::clone::Clone for IVpnTrafficFilterAssignment {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVpnTrafficFilterFactory(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVpnTrafficFilterFactory {}
impl ::core::clone::Clone for IVpnTrafficFilterFactory {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnAppId(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnAppId {}
impl ::core::clone::Clone for VpnAppId {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnAppIdType(pub i32);
impl VpnAppIdType {
    pub const PackageFamilyName: Self = Self(0i32);
    pub const FullyQualifiedBinaryName: Self = Self(1i32);
    pub const FilePath: Self = Self(2i32);
}
impl ::core::marker::Copy for VpnAppIdType {}
impl ::core::clone::Clone for VpnAppIdType {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnAuthenticationMethod(pub i32);
impl VpnAuthenticationMethod {
    pub const Mschapv2: Self = Self(0i32);
    pub const Eap: Self = Self(1i32);
    pub const Certificate: Self = Self(2i32);
    pub const PresharedKey: Self = Self(3i32);
}
impl ::core::marker::Copy for VpnAuthenticationMethod {}
impl ::core::clone::Clone for VpnAuthenticationMethod {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnChannel(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnChannel {}
impl ::core::clone::Clone for VpnChannel {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnChannelActivityEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnChannelActivityEventArgs {}
impl ::core::clone::Clone for VpnChannelActivityEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnChannelActivityEventType(pub i32);
impl VpnChannelActivityEventType {
    pub const Idle: Self = Self(0i32);
    pub const Active: Self = Self(1i32);
}
impl ::core::marker::Copy for VpnChannelActivityEventType {}
impl ::core::clone::Clone for VpnChannelActivityEventType {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnChannelActivityStateChangedArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnChannelActivityStateChangedArgs {}
impl ::core::clone::Clone for VpnChannelActivityStateChangedArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnChannelConfiguration(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnChannelConfiguration {}
impl ::core::clone::Clone for VpnChannelConfiguration {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnChannelRequestCredentialsOptions(pub u32);
impl VpnChannelRequestCredentialsOptions {
    pub const None: Self = Self(0u32);
    pub const Retrying: Self = Self(1u32);
    pub const UseForSingleSignIn: Self = Self(2u32);
}
impl ::core::marker::Copy for VpnChannelRequestCredentialsOptions {}
impl ::core::clone::Clone for VpnChannelRequestCredentialsOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnCredential(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnCredential {}
impl ::core::clone::Clone for VpnCredential {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnCredentialType(pub i32);
impl VpnCredentialType {
    pub const UsernamePassword: Self = Self(0i32);
    pub const UsernameOtpPin: Self = Self(1i32);
    pub const UsernamePasswordAndPin: Self = Self(2i32);
    pub const UsernamePasswordChange: Self = Self(3i32);
    pub const SmartCard: Self = Self(4i32);
    pub const ProtectedCertificate: Self = Self(5i32);
    pub const UnProtectedCertificate: Self = Self(6i32);
}
impl ::core::marker::Copy for VpnCredentialType {}
impl ::core::clone::Clone for VpnCredentialType {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnCustomCheckBox(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnCustomCheckBox {}
impl ::core::clone::Clone for VpnCustomCheckBox {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnCustomComboBox(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnCustomComboBox {}
impl ::core::clone::Clone for VpnCustomComboBox {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnCustomEditBox(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnCustomEditBox {}
impl ::core::clone::Clone for VpnCustomEditBox {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnCustomErrorBox(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnCustomErrorBox {}
impl ::core::clone::Clone for VpnCustomErrorBox {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnCustomPromptBooleanInput(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnCustomPromptBooleanInput {}
impl ::core::clone::Clone for VpnCustomPromptBooleanInput {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnCustomPromptOptionSelector(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnCustomPromptOptionSelector {}
impl ::core::clone::Clone for VpnCustomPromptOptionSelector {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnCustomPromptText(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnCustomPromptText {}
impl ::core::clone::Clone for VpnCustomPromptText {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnCustomPromptTextInput(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnCustomPromptTextInput {}
impl ::core::clone::Clone for VpnCustomPromptTextInput {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnCustomTextBox(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnCustomTextBox {}
impl ::core::clone::Clone for VpnCustomTextBox {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnDataPathType(pub i32);
impl VpnDataPathType {
    pub const Send: Self = Self(0i32);
    pub const Receive: Self = Self(1i32);
}
impl ::core::marker::Copy for VpnDataPathType {}
impl ::core::clone::Clone for VpnDataPathType {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnDomainNameAssignment(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnDomainNameAssignment {}
impl ::core::clone::Clone for VpnDomainNameAssignment {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnDomainNameInfo(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnDomainNameInfo {}
impl ::core::clone::Clone for VpnDomainNameInfo {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnDomainNameType(pub i32);
impl VpnDomainNameType {
    pub const Suffix: Self = Self(0i32);
    pub const FullyQualified: Self = Self(1i32);
    pub const Reserved: Self = Self(65535i32);
}
impl ::core::marker::Copy for VpnDomainNameType {}
impl ::core::clone::Clone for VpnDomainNameType {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnForegroundActivatedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnForegroundActivatedEventArgs {}
impl ::core::clone::Clone for VpnForegroundActivatedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnForegroundActivationOperation(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnForegroundActivationOperation {}
impl ::core::clone::Clone for VpnForegroundActivationOperation {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnIPProtocol(pub i32);
impl VpnIPProtocol {
    pub const None: Self = Self(0i32);
    pub const Tcp: Self = Self(6i32);
    pub const Udp: Self = Self(17i32);
    pub const Icmp: Self = Self(1i32);
    pub const Ipv6Icmp: Self = Self(58i32);
    pub const Igmp: Self = Self(2i32);
    pub const Pgm: Self = Self(113i32);
}
impl ::core::marker::Copy for VpnIPProtocol {}
impl ::core::clone::Clone for VpnIPProtocol {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnInterfaceId(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnInterfaceId {}
impl ::core::clone::Clone for VpnInterfaceId {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnManagementAgent(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnManagementAgent {}
impl ::core::clone::Clone for VpnManagementAgent {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnManagementConnectionStatus(pub i32);
impl VpnManagementConnectionStatus {
    pub const Disconnected: Self = Self(0i32);
    pub const Disconnecting: Self = Self(1i32);
    pub const Connected: Self = Self(2i32);
    pub const Connecting: Self = Self(3i32);
}
impl ::core::marker::Copy for VpnManagementConnectionStatus {}
impl ::core::clone::Clone for VpnManagementConnectionStatus {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnManagementErrorStatus(pub i32);
impl VpnManagementErrorStatus {
    pub const Ok: Self = Self(0i32);
    pub const Other: Self = Self(1i32);
    pub const InvalidXmlSyntax: Self = Self(2i32);
    pub const ProfileNameTooLong: Self = Self(3i32);
    pub const ProfileInvalidAppId: Self = Self(4i32);
    pub const AccessDenied: Self = Self(5i32);
    pub const CannotFindProfile: Self = Self(6i32);
    pub const AlreadyDisconnecting: Self = Self(7i32);
    pub const AlreadyConnected: Self = Self(8i32);
    pub const GeneralAuthenticationFailure: Self = Self(9i32);
    pub const EapFailure: Self = Self(10i32);
    pub const SmartCardFailure: Self = Self(11i32);
    pub const CertificateFailure: Self = Self(12i32);
    pub const ServerConfiguration: Self = Self(13i32);
    pub const NoConnection: Self = Self(14i32);
    pub const ServerConnection: Self = Self(15i32);
    pub const UserNamePassword: Self = Self(16i32);
    pub const DnsNotResolvable: Self = Self(17i32);
    pub const InvalidIP: Self = Self(18i32);
}
impl ::core::marker::Copy for VpnManagementErrorStatus {}
impl ::core::clone::Clone for VpnManagementErrorStatus {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnNamespaceAssignment(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnNamespaceAssignment {}
impl ::core::clone::Clone for VpnNamespaceAssignment {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnNamespaceInfo(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnNamespaceInfo {}
impl ::core::clone::Clone for VpnNamespaceInfo {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnNativeProfile(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnNativeProfile {}
impl ::core::clone::Clone for VpnNativeProfile {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnNativeProtocolType(pub i32);
impl VpnNativeProtocolType {
    pub const Pptp: Self = Self(0i32);
    pub const L2tp: Self = Self(1i32);
    pub const IpsecIkev2: Self = Self(2i32);
}
impl ::core::marker::Copy for VpnNativeProtocolType {}
impl ::core::clone::Clone for VpnNativeProtocolType {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnPacketBuffer(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnPacketBuffer {}
impl ::core::clone::Clone for VpnPacketBuffer {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnPacketBufferList(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnPacketBufferList {}
impl ::core::clone::Clone for VpnPacketBufferList {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnPacketBufferStatus(pub i32);
impl VpnPacketBufferStatus {
    pub const Ok: Self = Self(0i32);
    pub const InvalidBufferSize: Self = Self(1i32);
}
impl ::core::marker::Copy for VpnPacketBufferStatus {}
impl ::core::clone::Clone for VpnPacketBufferStatus {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnPickedCredential(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnPickedCredential {}
impl ::core::clone::Clone for VpnPickedCredential {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnPlugInProfile(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnPlugInProfile {}
impl ::core::clone::Clone for VpnPlugInProfile {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnRoute(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnRoute {}
impl ::core::clone::Clone for VpnRoute {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnRouteAssignment(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnRouteAssignment {}
impl ::core::clone::Clone for VpnRouteAssignment {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnRoutingPolicyType(pub i32);
impl VpnRoutingPolicyType {
    pub const SplitRouting: Self = Self(0i32);
    pub const ForceAllTrafficOverVpn: Self = Self(1i32);
}
impl ::core::marker::Copy for VpnRoutingPolicyType {}
impl ::core::clone::Clone for VpnRoutingPolicyType {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnSystemHealth(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnSystemHealth {}
impl ::core::clone::Clone for VpnSystemHealth {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnTrafficFilter(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnTrafficFilter {}
impl ::core::clone::Clone for VpnTrafficFilter {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VpnTrafficFilterAssignment(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VpnTrafficFilterAssignment {}
impl ::core::clone::Clone for VpnTrafficFilterAssignment {
    fn clone(&self) -> Self {
        *self
    }
}