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
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "Management_Deployment_Preview")]
pub mod Preview;
#[link(name = "windows")]
extern "system" {}
#[repr(transparent)]
pub struct AddPackageByAppInstallerOptions(pub u32);
impl AddPackageByAppInstallerOptions {
    pub const None: Self = Self(0u32);
    pub const InstallAllResources: Self = Self(32u32);
    pub const ForceTargetAppShutdown: Self = Self(64u32);
    pub const RequiredContentGroupOnly: Self = Self(256u32);
    pub const LimitToExistingPackages: Self = Self(512u32);
}
impl ::core::marker::Copy for AddPackageByAppInstallerOptions {}
impl ::core::clone::Clone for AddPackageByAppInstallerOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct AddPackageOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for AddPackageOptions {}
impl ::core::clone::Clone for AddPackageOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct AppInstallerManager(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for AppInstallerManager {}
impl ::core::clone::Clone for AppInstallerManager {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct AutoUpdateSettingsOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for AutoUpdateSettingsOptions {}
impl ::core::clone::Clone for AutoUpdateSettingsOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct CreateSharedPackageContainerOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for CreateSharedPackageContainerOptions {}
impl ::core::clone::Clone for CreateSharedPackageContainerOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct CreateSharedPackageContainerResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for CreateSharedPackageContainerResult {}
impl ::core::clone::Clone for CreateSharedPackageContainerResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct DeleteSharedPackageContainerOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for DeleteSharedPackageContainerOptions {}
impl ::core::clone::Clone for DeleteSharedPackageContainerOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct DeleteSharedPackageContainerResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for DeleteSharedPackageContainerResult {}
impl ::core::clone::Clone for DeleteSharedPackageContainerResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct DeploymentOptions(pub u32);
impl DeploymentOptions {
    pub const None: Self = Self(0u32);
    pub const ForceApplicationShutdown: Self = Self(1u32);
    pub const DevelopmentMode: Self = Self(2u32);
    pub const InstallAllResources: Self = Self(32u32);
    pub const ForceTargetApplicationShutdown: Self = Self(64u32);
    pub const RequiredContentGroupOnly: Self = Self(256u32);
    pub const ForceUpdateFromAnyVersion: Self = Self(262144u32);
    pub const RetainFilesOnFailure: Self = Self(2097152u32);
    pub const StageInPlace: Self = Self(4194304u32);
}
impl ::core::marker::Copy for DeploymentOptions {}
impl ::core::clone::Clone for DeploymentOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(C)]
pub struct DeploymentProgress {
    pub state: DeploymentProgressState,
    pub percentage: u32,
}
impl ::core::marker::Copy for DeploymentProgress {}
impl ::core::clone::Clone for DeploymentProgress {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct DeploymentProgressState(pub i32);
impl DeploymentProgressState {
    pub const Queued: Self = Self(0i32);
    pub const Processing: Self = Self(1i32);
}
impl ::core::marker::Copy for DeploymentProgressState {}
impl ::core::clone::Clone for DeploymentProgressState {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct DeploymentResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for DeploymentResult {}
impl ::core::clone::Clone for DeploymentResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct FindSharedPackageContainerOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for FindSharedPackageContainerOptions {}
impl ::core::clone::Clone for FindSharedPackageContainerOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAddPackageOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAddPackageOptions {}
impl ::core::clone::Clone for IAddPackageOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAppInstallerManager(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAppInstallerManager {}
impl ::core::clone::Clone for IAppInstallerManager {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAppInstallerManagerStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAppInstallerManagerStatics {}
impl ::core::clone::Clone for IAppInstallerManagerStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAutoUpdateSettingsOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAutoUpdateSettingsOptions {}
impl ::core::clone::Clone for IAutoUpdateSettingsOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAutoUpdateSettingsOptionsStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAutoUpdateSettingsOptionsStatics {}
impl ::core::clone::Clone for IAutoUpdateSettingsOptionsStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ICreateSharedPackageContainerOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ICreateSharedPackageContainerOptions {}
impl ::core::clone::Clone for ICreateSharedPackageContainerOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ICreateSharedPackageContainerResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ICreateSharedPackageContainerResult {}
impl ::core::clone::Clone for ICreateSharedPackageContainerResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IDeleteSharedPackageContainerOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IDeleteSharedPackageContainerOptions {}
impl ::core::clone::Clone for IDeleteSharedPackageContainerOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IDeleteSharedPackageContainerResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IDeleteSharedPackageContainerResult {}
impl ::core::clone::Clone for IDeleteSharedPackageContainerResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IDeploymentResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IDeploymentResult {}
impl ::core::clone::Clone for IDeploymentResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IDeploymentResult2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IDeploymentResult2 {}
impl ::core::clone::Clone for IDeploymentResult2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IFindSharedPackageContainerOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IFindSharedPackageContainerOptions {}
impl ::core::clone::Clone for IFindSharedPackageContainerOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageAllUserProvisioningOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageAllUserProvisioningOptions {}
impl ::core::clone::Clone for IPackageAllUserProvisioningOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageManager(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageManager {}
impl ::core::clone::Clone for IPackageManager {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageManager10(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageManager10 {}
impl ::core::clone::Clone for IPackageManager10 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageManager2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageManager2 {}
impl ::core::clone::Clone for IPackageManager2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageManager3(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageManager3 {}
impl ::core::clone::Clone for IPackageManager3 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageManager4(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageManager4 {}
impl ::core::clone::Clone for IPackageManager4 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageManager5(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageManager5 {}
impl ::core::clone::Clone for IPackageManager5 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageManager6(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageManager6 {}
impl ::core::clone::Clone for IPackageManager6 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageManager7(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageManager7 {}
impl ::core::clone::Clone for IPackageManager7 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageManager8(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageManager8 {}
impl ::core::clone::Clone for IPackageManager8 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageManager9(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageManager9 {}
impl ::core::clone::Clone for IPackageManager9 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageManagerDebugSettings(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageManagerDebugSettings {}
impl ::core::clone::Clone for IPackageManagerDebugSettings {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageUserInformation(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageUserInformation {}
impl ::core::clone::Clone for IPackageUserInformation {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageVolume(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageVolume {}
impl ::core::clone::Clone for IPackageVolume {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPackageVolume2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPackageVolume2 {}
impl ::core::clone::Clone for IPackageVolume2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IRegisterPackageOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IRegisterPackageOptions {}
impl ::core::clone::Clone for IRegisterPackageOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ISharedPackageContainer(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ISharedPackageContainer {}
impl ::core::clone::Clone for ISharedPackageContainer {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ISharedPackageContainerManager(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ISharedPackageContainerManager {}
impl ::core::clone::Clone for ISharedPackageContainerManager {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ISharedPackageContainerManagerStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ISharedPackageContainerManagerStatics {}
impl ::core::clone::Clone for ISharedPackageContainerManagerStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ISharedPackageContainerMember(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ISharedPackageContainerMember {}
impl ::core::clone::Clone for ISharedPackageContainerMember {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ISharedPackageContainerMemberFactory(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ISharedPackageContainerMemberFactory {}
impl ::core::clone::Clone for ISharedPackageContainerMemberFactory {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IStagePackageOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IStagePackageOptions {}
impl ::core::clone::Clone for IStagePackageOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IUpdateSharedPackageContainerOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IUpdateSharedPackageContainerOptions {}
impl ::core::clone::Clone for IUpdateSharedPackageContainerOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IUpdateSharedPackageContainerResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IUpdateSharedPackageContainerResult {}
impl ::core::clone::Clone for IUpdateSharedPackageContainerResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageAllUserProvisioningOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageAllUserProvisioningOptions {}
impl ::core::clone::Clone for PackageAllUserProvisioningOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageInstallState(pub i32);
impl PackageInstallState {
    pub const NotInstalled: Self = Self(0i32);
    pub const Staged: Self = Self(1i32);
    pub const Installed: Self = Self(2i32);
    pub const Paused: Self = Self(6i32);
}
impl ::core::marker::Copy for PackageInstallState {}
impl ::core::clone::Clone for PackageInstallState {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageManager(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageManager {}
impl ::core::clone::Clone for PackageManager {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageManagerDebugSettings(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageManagerDebugSettings {}
impl ::core::clone::Clone for PackageManagerDebugSettings {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageState(pub i32);
impl PackageState {
    pub const Normal: Self = Self(0i32);
    pub const LicenseInvalid: Self = Self(1i32);
    pub const Modified: Self = Self(2i32);
    pub const Tampered: Self = Self(3i32);
}
impl ::core::marker::Copy for PackageState {}
impl ::core::clone::Clone for PackageState {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageStatus(pub u32);
impl PackageStatus {
    pub const OK: Self = Self(0u32);
    pub const LicenseIssue: Self = Self(1u32);
    pub const Modified: Self = Self(2u32);
    pub const Tampered: Self = Self(4u32);
    pub const Disabled: Self = Self(8u32);
}
impl ::core::marker::Copy for PackageStatus {}
impl ::core::clone::Clone for PackageStatus {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageStubPreference(pub i32);
impl PackageStubPreference {
    pub const Full: Self = Self(0i32);
    pub const Stub: Self = Self(1i32);
}
impl ::core::marker::Copy for PackageStubPreference {}
impl ::core::clone::Clone for PackageStubPreference {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageTypes(pub u32);
impl PackageTypes {
    pub const None: Self = Self(0u32);
    pub const Main: Self = Self(1u32);
    pub const Framework: Self = Self(2u32);
    pub const Resource: Self = Self(4u32);
    pub const Bundle: Self = Self(8u32);
    pub const Xap: Self = Self(16u32);
    pub const Optional: Self = Self(32u32);
    pub const All: Self = Self(4294967295u32);
}
impl ::core::marker::Copy for PackageTypes {}
impl ::core::clone::Clone for PackageTypes {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageUserInformation(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageUserInformation {}
impl ::core::clone::Clone for PackageUserInformation {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PackageVolume(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PackageVolume {}
impl ::core::clone::Clone for PackageVolume {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct RegisterPackageOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for RegisterPackageOptions {}
impl ::core::clone::Clone for RegisterPackageOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct RemovalOptions(pub u32);
impl RemovalOptions {
    pub const None: Self = Self(0u32);
    pub const PreserveApplicationData: Self = Self(4096u32);
    pub const PreserveRoamableApplicationData: Self = Self(128u32);
    pub const RemoveForAllUsers: Self = Self(524288u32);
}
impl ::core::marker::Copy for RemovalOptions {}
impl ::core::clone::Clone for RemovalOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct SharedPackageContainer(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for SharedPackageContainer {}
impl ::core::clone::Clone for SharedPackageContainer {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct SharedPackageContainerCreationCollisionOptions(pub i32);
impl SharedPackageContainerCreationCollisionOptions {
    pub const FailIfExists: Self = Self(0i32);
    pub const MergeWithExisting: Self = Self(1i32);
    pub const ReplaceExisting: Self = Self(2i32);
}
impl ::core::marker::Copy for SharedPackageContainerCreationCollisionOptions {}
impl ::core::clone::Clone for SharedPackageContainerCreationCollisionOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct SharedPackageContainerManager(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for SharedPackageContainerManager {}
impl ::core::clone::Clone for SharedPackageContainerManager {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct SharedPackageContainerMember(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for SharedPackageContainerMember {}
impl ::core::clone::Clone for SharedPackageContainerMember {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct SharedPackageContainerOperationStatus(pub i32);
impl SharedPackageContainerOperationStatus {
    pub const Success: Self = Self(0i32);
    pub const BlockedByPolicy: Self = Self(1i32);
    pub const AlreadyExists: Self = Self(2i32);
    pub const PackageFamilyExistsInAnotherContainer: Self = Self(3i32);
    pub const NotFound: Self = Self(4i32);
    pub const UnknownFailure: Self = Self(5i32);
}
impl ::core::marker::Copy for SharedPackageContainerOperationStatus {}
impl ::core::clone::Clone for SharedPackageContainerOperationStatus {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct StagePackageOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for StagePackageOptions {}
impl ::core::clone::Clone for StagePackageOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct StubPackageOption(pub i32);
impl StubPackageOption {
    pub const Default: Self = Self(0i32);
    pub const InstallFull: Self = Self(1i32);
    pub const InstallStub: Self = Self(2i32);
    pub const UsePreference: Self = Self(3i32);
}
impl ::core::marker::Copy for StubPackageOption {}
impl ::core::clone::Clone for StubPackageOption {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct UpdateSharedPackageContainerOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for UpdateSharedPackageContainerOptions {}
impl ::core::clone::Clone for UpdateSharedPackageContainerOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct UpdateSharedPackageContainerResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for UpdateSharedPackageContainerResult {}
impl ::core::clone::Clone for UpdateSharedPackageContainerResult {
    fn clone(&self) -> Self {
        *self
    }
}