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
#![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 AccessoryNotificationType(pub u32);
impl AccessoryNotificationType {
    pub const None: Self = Self(0u32);
    pub const Phone: Self = Self(1u32);
    pub const Email: Self = Self(2u32);
    pub const Reminder: Self = Self(4u32);
    pub const Alarm: Self = Self(8u32);
    pub const Toast: Self = Self(16u32);
    pub const AppUninstalled: Self = Self(32u32);
    pub const Dnd: Self = Self(64u32);
    pub const DrivingMode: Self = Self(128u32);
    pub const BatterySaver: Self = Self(256u32);
    pub const Media: Self = Self(512u32);
    pub const CortanaTile: Self = Self(1024u32);
    pub const ToastCleared: Self = Self(2048u32);
    pub const CalendarChanged: Self = Self(4096u32);
    pub const VolumeChanged: Self = Self(8192u32);
    pub const EmailReadStatusChanged: Self = Self(16384u32);
}
impl ::core::marker::Copy for AccessoryNotificationType {}
impl ::core::clone::Clone for AccessoryNotificationType {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct AlarmNotificationTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for AlarmNotificationTriggerDetails {}
impl ::core::clone::Clone for AlarmNotificationTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct AppNotificationInfo(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for AppNotificationInfo {}
impl ::core::clone::Clone for AppNotificationInfo {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct BinaryId(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for BinaryId {}
impl ::core::clone::Clone for BinaryId {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct CalendarChangedEvent(pub i32);
impl CalendarChangedEvent {
    pub const LostEvents: Self = Self(0i32);
    pub const AppointmentAdded: Self = Self(1i32);
    pub const AppointmentChanged: Self = Self(2i32);
    pub const AppointmentDeleted: Self = Self(3i32);
    pub const CalendarAdded: Self = Self(4i32);
    pub const CalendarChanged: Self = Self(5i32);
    pub const CalendarDeleted: Self = Self(6i32);
}
impl ::core::marker::Copy for CalendarChangedEvent {}
impl ::core::clone::Clone for CalendarChangedEvent {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct CalendarChangedNotificationTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for CalendarChangedNotificationTriggerDetails {}
impl ::core::clone::Clone for CalendarChangedNotificationTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct CortanaTileNotificationTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for CortanaTileNotificationTriggerDetails {}
impl ::core::clone::Clone for CortanaTileNotificationTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct EmailAccountInfo(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for EmailAccountInfo {}
impl ::core::clone::Clone for EmailAccountInfo {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct EmailFolderInfo(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for EmailFolderInfo {}
impl ::core::clone::Clone for EmailFolderInfo {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct EmailNotificationTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for EmailNotificationTriggerDetails {}
impl ::core::clone::Clone for EmailNotificationTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct EmailReadNotificationTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for EmailReadNotificationTriggerDetails {}
impl ::core::clone::Clone for EmailReadNotificationTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAccessoryManager(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAccessoryManager {}
impl ::core::clone::Clone for IAccessoryManager {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAccessoryManager2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAccessoryManager2 {}
impl ::core::clone::Clone for IAccessoryManager2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAccessoryManager3(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAccessoryManager3 {}
impl ::core::clone::Clone for IAccessoryManager3 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAccessoryNotificationTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAccessoryNotificationTriggerDetails {}
impl ::core::clone::Clone for IAccessoryNotificationTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAlarmNotificationTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAlarmNotificationTriggerDetails {}
impl ::core::clone::Clone for IAlarmNotificationTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAlarmNotificationTriggerDetails2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAlarmNotificationTriggerDetails2 {}
impl ::core::clone::Clone for IAlarmNotificationTriggerDetails2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IAppNotificationInfo(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IAppNotificationInfo {}
impl ::core::clone::Clone for IAppNotificationInfo {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IBinaryId(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IBinaryId {}
impl ::core::clone::Clone for IBinaryId {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ICalendarChangedNotificationTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ICalendarChangedNotificationTriggerDetails {}
impl ::core::clone::Clone for ICalendarChangedNotificationTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ICortanaTileNotificationTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ICortanaTileNotificationTriggerDetails {}
impl ::core::clone::Clone for ICortanaTileNotificationTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IEmailAccountInfo(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IEmailAccountInfo {}
impl ::core::clone::Clone for IEmailAccountInfo {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IEmailFolderInfo(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IEmailFolderInfo {}
impl ::core::clone::Clone for IEmailFolderInfo {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IEmailNotificationTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IEmailNotificationTriggerDetails {}
impl ::core::clone::Clone for IEmailNotificationTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IEmailNotificationTriggerDetails2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IEmailNotificationTriggerDetails2 {}
impl ::core::clone::Clone for IEmailNotificationTriggerDetails2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IEmailReadNotificationTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IEmailReadNotificationTriggerDetails {}
impl ::core::clone::Clone for IEmailReadNotificationTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IMediaControlsTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IMediaControlsTriggerDetails {}
impl ::core::clone::Clone for IMediaControlsTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IMediaMetadata(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IMediaMetadata {}
impl ::core::clone::Clone for IMediaMetadata {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPhoneCallDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPhoneCallDetails {}
impl ::core::clone::Clone for IPhoneCallDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPhoneLineDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPhoneLineDetails {}
impl ::core::clone::Clone for IPhoneLineDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPhoneLineDetails2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPhoneLineDetails2 {}
impl ::core::clone::Clone for IPhoneLineDetails2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IPhoneNotificationTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IPhoneNotificationTriggerDetails {}
impl ::core::clone::Clone for IPhoneNotificationTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IReminderNotificationTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IReminderNotificationTriggerDetails {}
impl ::core::clone::Clone for IReminderNotificationTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IReminderNotificationTriggerDetails2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IReminderNotificationTriggerDetails2 {}
impl ::core::clone::Clone for IReminderNotificationTriggerDetails2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ISpeedDialEntry(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ISpeedDialEntry {}
impl ::core::clone::Clone for ISpeedDialEntry {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITextResponse(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITextResponse {}
impl ::core::clone::Clone for ITextResponse {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IToastNotificationTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IToastNotificationTriggerDetails {}
impl ::core::clone::Clone for IToastNotificationTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IToastNotificationTriggerDetails2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IToastNotificationTriggerDetails2 {}
impl ::core::clone::Clone for IToastNotificationTriggerDetails2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IVolumeInfo(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IVolumeInfo {}
impl ::core::clone::Clone for IVolumeInfo {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct MediaControlsTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for MediaControlsTriggerDetails {}
impl ::core::clone::Clone for MediaControlsTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct MediaMetadata(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for MediaMetadata {}
impl ::core::clone::Clone for MediaMetadata {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PhoneCallAudioEndpoint(pub i32);
impl PhoneCallAudioEndpoint {
    pub const Default: Self = Self(0i32);
    pub const Speaker: Self = Self(1i32);
    pub const Handsfree: Self = Self(2i32);
}
impl ::core::marker::Copy for PhoneCallAudioEndpoint {}
impl ::core::clone::Clone for PhoneCallAudioEndpoint {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PhoneCallDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PhoneCallDetails {}
impl ::core::clone::Clone for PhoneCallDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PhoneCallDirection(pub i32);
impl PhoneCallDirection {
    pub const Incoming: Self = Self(0i32);
    pub const Outgoing: Self = Self(1i32);
}
impl ::core::marker::Copy for PhoneCallDirection {}
impl ::core::clone::Clone for PhoneCallDirection {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PhoneCallState(pub i32);
impl PhoneCallState {
    pub const Unknown: Self = Self(0i32);
    pub const Ringing: Self = Self(1i32);
    pub const Talking: Self = Self(2i32);
    pub const Held: Self = Self(3i32);
    pub const Ended: Self = Self(4i32);
}
impl ::core::marker::Copy for PhoneCallState {}
impl ::core::clone::Clone for PhoneCallState {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PhoneCallTransport(pub i32);
impl PhoneCallTransport {
    pub const Cellular: Self = Self(0i32);
    pub const Voip: Self = Self(1i32);
}
impl ::core::marker::Copy for PhoneCallTransport {}
impl ::core::clone::Clone for PhoneCallTransport {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PhoneLineDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PhoneLineDetails {}
impl ::core::clone::Clone for PhoneLineDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PhoneLineRegistrationState(pub i32);
impl PhoneLineRegistrationState {
    pub const Disconnected: Self = Self(0i32);
    pub const Home: Self = Self(1i32);
    pub const Roaming: Self = Self(2i32);
}
impl ::core::marker::Copy for PhoneLineRegistrationState {}
impl ::core::clone::Clone for PhoneLineRegistrationState {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PhoneMediaType(pub i32);
impl PhoneMediaType {
    pub const AudioOnly: Self = Self(0i32);
    pub const AudioVideo: Self = Self(1i32);
}
impl ::core::marker::Copy for PhoneMediaType {}
impl ::core::clone::Clone for PhoneMediaType {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PhoneNotificationTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for PhoneNotificationTriggerDetails {}
impl ::core::clone::Clone for PhoneNotificationTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PhoneNotificationType(pub i32);
impl PhoneNotificationType {
    pub const NewCall: Self = Self(0i32);
    pub const CallChanged: Self = Self(1i32);
    pub const LineChanged: Self = Self(2i32);
    pub const PhoneCallAudioEndpointChanged: Self = Self(3i32);
    pub const PhoneMuteChanged: Self = Self(4i32);
}
impl ::core::marker::Copy for PhoneNotificationType {}
impl ::core::clone::Clone for PhoneNotificationType {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PlaybackCapability(pub u32);
impl PlaybackCapability {
    pub const None: Self = Self(0u32);
    pub const Play: Self = Self(1u32);
    pub const Pause: Self = Self(2u32);
    pub const Stop: Self = Self(4u32);
    pub const Record: Self = Self(8u32);
    pub const FastForward: Self = Self(16u32);
    pub const Rewind: Self = Self(32u32);
    pub const Next: Self = Self(64u32);
    pub const Previous: Self = Self(128u32);
    pub const ChannelUp: Self = Self(256u32);
    pub const ChannelDown: Self = Self(512u32);
}
impl ::core::marker::Copy for PlaybackCapability {}
impl ::core::clone::Clone for PlaybackCapability {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PlaybackCommand(pub i32);
impl PlaybackCommand {
    pub const Play: Self = Self(0i32);
    pub const Pause: Self = Self(1i32);
    pub const Stop: Self = Self(2i32);
    pub const Record: Self = Self(3i32);
    pub const FastForward: Self = Self(4i32);
    pub const Rewind: Self = Self(5i32);
    pub const Next: Self = Self(6i32);
    pub const Previous: Self = Self(7i32);
    pub const ChannelUp: Self = Self(8i32);
    pub const ChannelDown: Self = Self(9i32);
}
impl ::core::marker::Copy for PlaybackCommand {}
impl ::core::clone::Clone for PlaybackCommand {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct PlaybackStatus(pub i32);
impl PlaybackStatus {
    pub const None: Self = Self(0i32);
    pub const TrackChanged: Self = Self(1i32);
    pub const Stopped: Self = Self(2i32);
    pub const Playing: Self = Self(3i32);
    pub const Paused: Self = Self(4i32);
}
impl ::core::marker::Copy for PlaybackStatus {}
impl ::core::clone::Clone for PlaybackStatus {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ReminderNotificationTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ReminderNotificationTriggerDetails {}
impl ::core::clone::Clone for ReminderNotificationTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ReminderState(pub i32);
impl ReminderState {
    pub const Active: Self = Self(0i32);
    pub const Snoozed: Self = Self(1i32);
    pub const Dismissed: Self = Self(2i32);
}
impl ::core::marker::Copy for ReminderState {}
impl ::core::clone::Clone for ReminderState {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct SpeedDialEntry(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for SpeedDialEntry {}
impl ::core::clone::Clone for SpeedDialEntry {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct TextResponse(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for TextResponse {}
impl ::core::clone::Clone for TextResponse {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ToastNotificationTriggerDetails(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ToastNotificationTriggerDetails {}
impl ::core::clone::Clone for ToastNotificationTriggerDetails {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VibrateState(pub i32);
impl VibrateState {
    pub const RingerOffVibrateOff: Self = Self(0i32);
    pub const RingerOffVibrateOn: Self = Self(1i32);
    pub const RingerOnVibrateOff: Self = Self(2i32);
    pub const RingerOnVibrateOn: Self = Self(3i32);
}
impl ::core::marker::Copy for VibrateState {}
impl ::core::clone::Clone for VibrateState {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct VolumeInfo(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for VolumeInfo {}
impl ::core::clone::Clone for VolumeInfo {
    fn clone(&self) -> Self {
        *self
    }
}