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
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_Activation")]
pub mod Activation;
#[cfg(feature = "ApplicationModel_AppExtensions")]
pub mod AppExtensions;
#[cfg(feature = "ApplicationModel_AppService")]
pub mod AppService;
#[cfg(feature = "ApplicationModel_Appointments")]
pub mod Appointments;
#[cfg(feature = "ApplicationModel_Background")]
pub mod Background;
#[cfg(feature = "ApplicationModel_Calls")]
pub mod Calls;
#[cfg(feature = "ApplicationModel_Chat")]
pub mod Chat;
#[cfg(feature = "ApplicationModel_CommunicationBlocking")]
pub mod CommunicationBlocking;
#[cfg(feature = "ApplicationModel_Contacts")]
pub mod Contacts;
#[cfg(feature = "ApplicationModel_ConversationalAgent")]
pub mod ConversationalAgent;
#[cfg(feature = "ApplicationModel_Core")]
pub mod Core;
#[cfg(feature = "ApplicationModel_DataTransfer")]
pub mod DataTransfer;
#[cfg(feature = "ApplicationModel_Email")]
pub mod Email;
#[cfg(feature = "ApplicationModel_ExtendedExecution")]
pub mod ExtendedExecution;
#[cfg(feature = "ApplicationModel_Holographic")]
pub mod Holographic;
#[cfg(feature = "ApplicationModel_LockScreen")]
pub mod LockScreen;
#[cfg(feature = "ApplicationModel_Payments")]
pub mod Payments;
#[cfg(feature = "ApplicationModel_Preview")]
pub mod Preview;
#[cfg(feature = "ApplicationModel_Resources")]
pub mod Resources;
#[cfg(feature = "ApplicationModel_Search")]
pub mod Search;
#[cfg(feature = "ApplicationModel_SocialInfo")]
pub mod SocialInfo;
#[cfg(feature = "ApplicationModel_Store")]
pub mod Store;
#[cfg(feature = "ApplicationModel_UserActivities")]
pub mod UserActivities;
#[cfg(feature = "ApplicationModel_UserDataAccounts")]
pub mod UserDataAccounts;
#[cfg(feature = "ApplicationModel_UserDataTasks")]
pub mod UserDataTasks;
#[cfg(feature = "ApplicationModel_VoiceCommands")]
pub mod VoiceCommands;
#[cfg(feature = "ApplicationModel_Wallet")]
pub mod Wallet;
#[link(name = "windows")]
extern "system" {}
#[repr(transparent)]
pub struct AddResourcePackageOptions(pub u32);
impl AddResourcePackageOptions {
    pub const None: Self = Self(0u32);
    pub const ForceTargetAppShutdown: Self = Self(1u32);
    pub const ApplyUpdateIfAvailable: Self = Self(2u32);
}
impl ::core::marker::Copy for AddResourcePackageOptions {}
impl ::core::clone::Clone for AddResourcePackageOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct AppDisplayInfo(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for AppDisplayInfo {}
impl ::core::clone::Clone for AppDisplayInfo {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct AppExecutionContext(pub i32);
impl AppExecutionContext {
    pub const Unknown: Self = Self(0i32);
    pub const Host: Self = Self(1i32);
    pub const Guest: Self = Self(2i32);
}
impl ::core::marker::Copy for AppExecutionContext {}
impl ::core::clone::Clone for AppExecutionContext {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct AppInfo(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for AppInfo {}
impl ::core::clone::Clone for AppInfo {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct AppInstallerInfo(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for AppInstallerInfo {}
impl ::core::clone::Clone for AppInstallerInfo {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct AppInstallerPolicySource(pub i32);
impl AppInstallerPolicySource {
    pub const Default: Self = Self(0i32);
    pub const System: Self = Self(1i32);
}
impl ::core::marker::Copy for AppInstallerPolicySource {}
impl ::core::clone::Clone for AppInstallerPolicySource {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct AppInstance(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for AppInstance {}
impl ::core::clone::Clone for AppInstance {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct EnteredBackgroundEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for EnteredBackgroundEventArgs {}
impl ::core::clone::Clone for EnteredBackgroundEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct FullTrustLaunchResult(pub i32);
impl FullTrustLaunchResult {
    pub const Success: Self = Self(0i32);
    pub const AccessDenied: Self = Self(1i32);
    pub const FileNotFound: Self = Self(2i32);
    pub const Unknown: Self = Self(3i32);
}
impl ::core::marker::Copy for FullTrustLaunchResult {}
impl ::core::clone::Clone for FullTrustLaunchResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct FullTrustProcessLaunchResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for FullTrustProcessLaunchResult {}
impl ::core::clone::Clone for FullTrustProcessLaunchResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAppDisplayInfo(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAppDisplayInfo {}
impl ::core::clone::Clone for IAppDisplayInfo {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAppInfo(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAppInfo {}
impl ::core::clone::Clone for IAppInfo {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAppInfo2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAppInfo2 {}
impl ::core::clone::Clone for IAppInfo2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAppInfo3(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAppInfo3 {}
impl ::core::clone::Clone for IAppInfo3 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAppInfo4(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAppInfo4 {}
impl ::core::clone::Clone for IAppInfo4 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAppInfoStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAppInfoStatics {}
impl ::core::clone::Clone for IAppInfoStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAppInstallerInfo(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAppInstallerInfo {}
impl ::core::clone::Clone for IAppInstallerInfo {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAppInstallerInfo2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAppInstallerInfo2 {}
impl ::core::clone::Clone for IAppInstallerInfo2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAppInstance(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAppInstance {}
impl ::core::clone::Clone for IAppInstance {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAppInstanceStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAppInstanceStatics {}
impl ::core::clone::Clone for IAppInstanceStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ICameraApplicationManagerStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ICameraApplicationManagerStatics {}
impl ::core::clone::Clone for ICameraApplicationManagerStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IDesignModeStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IDesignModeStatics {}
impl ::core::clone::Clone for IDesignModeStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IDesignModeStatics2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IDesignModeStatics2 {}
impl ::core::clone::Clone for IDesignModeStatics2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IEnteredBackgroundEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IEnteredBackgroundEventArgs {}
impl ::core::clone::Clone for IEnteredBackgroundEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IFullTrustProcessLaunchResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IFullTrustProcessLaunchResult {}
impl ::core::clone::Clone for IFullTrustProcessLaunchResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IFullTrustProcessLauncherStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IFullTrustProcessLauncherStatics {}
impl ::core::clone::Clone for IFullTrustProcessLauncherStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IFullTrustProcessLauncherStatics2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IFullTrustProcessLauncherStatics2 {}
impl ::core::clone::Clone for IFullTrustProcessLauncherStatics2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILeavingBackgroundEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILeavingBackgroundEventArgs {}
impl ::core::clone::Clone for ILeavingBackgroundEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILimitedAccessFeatureRequestResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILimitedAccessFeatureRequestResult {}
impl ::core::clone::Clone for ILimitedAccessFeatureRequestResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILimitedAccessFeaturesStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILimitedAccessFeaturesStatics {}
impl ::core::clone::Clone for ILimitedAccessFeaturesStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackage(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackage {}
impl ::core::clone::Clone for IPackage {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackage2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackage2 {}
impl ::core::clone::Clone for IPackage2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackage3(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackage3 {}
impl ::core::clone::Clone for IPackage3 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackage4(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackage4 {}
impl ::core::clone::Clone for IPackage4 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackage5(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackage5 {}
impl ::core::clone::Clone for IPackage5 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackage6(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackage6 {}
impl ::core::clone::Clone for IPackage6 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackage7(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackage7 {}
impl ::core::clone::Clone for IPackage7 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackage8(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackage8 {}
impl ::core::clone::Clone for IPackage8 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageCatalog(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageCatalog {}
impl ::core::clone::Clone for IPackageCatalog {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageCatalog2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageCatalog2 {}
impl ::core::clone::Clone for IPackageCatalog2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageCatalog3(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageCatalog3 {}
impl ::core::clone::Clone for IPackageCatalog3 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageCatalog4(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageCatalog4 {}
impl ::core::clone::Clone for IPackageCatalog4 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageCatalogAddOptionalPackageResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageCatalogAddOptionalPackageResult {}
impl ::core::clone::Clone for IPackageCatalogAddOptionalPackageResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageCatalogAddResourcePackageResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageCatalogAddResourcePackageResult {}
impl ::core::clone::Clone for IPackageCatalogAddResourcePackageResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageCatalogRemoveOptionalPackagesResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageCatalogRemoveOptionalPackagesResult {}
impl ::core::clone::Clone for IPackageCatalogRemoveOptionalPackagesResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageCatalogRemoveResourcePackagesResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageCatalogRemoveResourcePackagesResult {}
impl ::core::clone::Clone for IPackageCatalogRemoveResourcePackagesResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageCatalogStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageCatalogStatics {}
impl ::core::clone::Clone for IPackageCatalogStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageContentGroup(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageContentGroup {}
impl ::core::clone::Clone for IPackageContentGroup {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageContentGroupStagingEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageContentGroupStagingEventArgs {}
impl ::core::clone::Clone for IPackageContentGroupStagingEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageContentGroupStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageContentGroupStatics {}
impl ::core::clone::Clone for IPackageContentGroupStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageId(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageId {}
impl ::core::clone::Clone for IPackageId {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageIdWithMetadata(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageIdWithMetadata {}
impl ::core::clone::Clone for IPackageIdWithMetadata {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageInstallingEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageInstallingEventArgs {}
impl ::core::clone::Clone for IPackageInstallingEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageStagingEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageStagingEventArgs {}
impl ::core::clone::Clone for IPackageStagingEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageStatics {}
impl ::core::clone::Clone for IPackageStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageStatus(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageStatus {}
impl ::core::clone::Clone for IPackageStatus {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageStatus2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageStatus2 {}
impl ::core::clone::Clone for IPackageStatus2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageStatusChangedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageStatusChangedEventArgs {}
impl ::core::clone::Clone for IPackageStatusChangedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageUninstallingEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageUninstallingEventArgs {}
impl ::core::clone::Clone for IPackageUninstallingEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageUpdateAvailabilityResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageUpdateAvailabilityResult {}
impl ::core::clone::Clone for IPackageUpdateAvailabilityResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageUpdatingEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageUpdatingEventArgs {}
impl ::core::clone::Clone for IPackageUpdatingEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageWithMetadata(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageWithMetadata {}
impl ::core::clone::Clone for IPackageWithMetadata {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IStartupTask(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IStartupTask {}
impl ::core::clone::Clone for IStartupTask {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IStartupTaskStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IStartupTaskStatics {}
impl ::core::clone::Clone for IStartupTaskStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ISuspendingDeferral(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ISuspendingDeferral {}
impl ::core::clone::Clone for ISuspendingDeferral {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ISuspendingEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ISuspendingEventArgs {}
impl ::core::clone::Clone for ISuspendingEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ISuspendingOperation(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ISuspendingOperation {}
impl ::core::clone::Clone for ISuspendingOperation {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct LeavingBackgroundEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for LeavingBackgroundEventArgs {}
impl ::core::clone::Clone for LeavingBackgroundEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct LimitedAccessFeatureRequestResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for LimitedAccessFeatureRequestResult {}
impl ::core::clone::Clone for LimitedAccessFeatureRequestResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct LimitedAccessFeatureStatus(pub i32);
impl LimitedAccessFeatureStatus {
    pub const Unavailable: Self = Self(0i32);
    pub const Available: Self = Self(1i32);
    pub const AvailableWithoutToken: Self = Self(2i32);
    pub const Unknown: Self = Self(3i32);
}
impl ::core::marker::Copy for LimitedAccessFeatureStatus {}
impl ::core::clone::Clone for LimitedAccessFeatureStatus {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct Package(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for Package {}
impl ::core::clone::Clone for Package {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageCatalog(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageCatalog {}
impl ::core::clone::Clone for PackageCatalog {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageCatalogAddOptionalPackageResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageCatalogAddOptionalPackageResult {}
impl ::core::clone::Clone for PackageCatalogAddOptionalPackageResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageCatalogAddResourcePackageResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageCatalogAddResourcePackageResult {}
impl ::core::clone::Clone for PackageCatalogAddResourcePackageResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageCatalogRemoveOptionalPackagesResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageCatalogRemoveOptionalPackagesResult {}
impl ::core::clone::Clone for PackageCatalogRemoveOptionalPackagesResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageCatalogRemoveResourcePackagesResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageCatalogRemoveResourcePackagesResult {}
impl ::core::clone::Clone for PackageCatalogRemoveResourcePackagesResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageContentGroup(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageContentGroup {}
impl ::core::clone::Clone for PackageContentGroup {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageContentGroupStagingEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageContentGroupStagingEventArgs {}
impl ::core::clone::Clone for PackageContentGroupStagingEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageContentGroupState(pub i32);
impl PackageContentGroupState {
    pub const NotStaged: Self = Self(0i32);
    pub const Queued: Self = Self(1i32);
    pub const Staging: Self = Self(2i32);
    pub const Staged: Self = Self(3i32);
}
impl ::core::marker::Copy for PackageContentGroupState {}
impl ::core::clone::Clone for PackageContentGroupState {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageId(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageId {}
impl ::core::clone::Clone for PackageId {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(C)]
pub struct PackageInstallProgress {
    pub PercentComplete: u32,
}
impl ::core::marker::Copy for PackageInstallProgress {}
impl ::core::clone::Clone for PackageInstallProgress {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageInstallingEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageInstallingEventArgs {}
impl ::core::clone::Clone for PackageInstallingEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageSignatureKind(pub i32);
impl PackageSignatureKind {
    pub const None: Self = Self(0i32);
    pub const Developer: Self = Self(1i32);
    pub const Enterprise: Self = Self(2i32);
    pub const Store: Self = Self(3i32);
    pub const System: Self = Self(4i32);
}
impl ::core::marker::Copy for PackageSignatureKind {}
impl ::core::clone::Clone for PackageSignatureKind {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageStagingEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageStagingEventArgs {}
impl ::core::clone::Clone for PackageStagingEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageStatus(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageStatus {}
impl ::core::clone::Clone for PackageStatus {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageStatusChangedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageStatusChangedEventArgs {}
impl ::core::clone::Clone for PackageStatusChangedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageUninstallingEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageUninstallingEventArgs {}
impl ::core::clone::Clone for PackageUninstallingEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageUpdateAvailability(pub i32);
impl PackageUpdateAvailability {
    pub const Unknown: Self = Self(0i32);
    pub const NoUpdates: Self = Self(1i32);
    pub const Available: Self = Self(2i32);
    pub const Required: Self = Self(3i32);
    pub const Error: Self = Self(4i32);
}
impl ::core::marker::Copy for PackageUpdateAvailability {}
impl ::core::clone::Clone for PackageUpdateAvailability {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageUpdateAvailabilityResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageUpdateAvailabilityResult {}
impl ::core::clone::Clone for PackageUpdateAvailabilityResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageUpdatingEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageUpdatingEventArgs {}
impl ::core::clone::Clone for PackageUpdatingEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(C)]
pub struct PackageVersion {
    pub Major: u16,
    pub Minor: u16,
    pub Build: u16,
    pub Revision: u16,
}
impl ::core::marker::Copy for PackageVersion {}
impl ::core::clone::Clone for PackageVersion {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct StartupTask(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for StartupTask {}
impl ::core::clone::Clone for StartupTask {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct StartupTaskState(pub i32);
impl StartupTaskState {
    pub const Disabled: Self = Self(0i32);
    pub const DisabledByUser: Self = Self(1i32);
    pub const Enabled: Self = Self(2i32);
    pub const DisabledByPolicy: Self = Self(3i32);
    pub const EnabledByPolicy: Self = Self(4i32);
}
impl ::core::marker::Copy for StartupTaskState {}
impl ::core::clone::Clone for StartupTaskState {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct SuspendingDeferral(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for SuspendingDeferral {}
impl ::core::clone::Clone for SuspendingDeferral {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct SuspendingEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for SuspendingEventArgs {}
impl ::core::clone::Clone for SuspendingEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct SuspendingOperation(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for SuspendingOperation {}
impl ::core::clone::Clone for SuspendingOperation {
    fn clone(&self) -> Self {
        *self
    }
}