objc2-io-kit 0.3.2

Bindings to the IOKit framework
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
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ffi::*;
use core::ptr::NonNull;
#[cfg(feature = "objc2")]
use objc2::__framework_prelude::*;

use crate::*;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiousbtransportdextentitlement?language=objc)
pub const kIOUSBTransportDextEntitlement: &CStr = unsafe {
    CStr::from_bytes_with_nul_unchecked(b"com.apple.developer.driverkit.transport.usb\0")
};
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiousbhostvmentitlement?language=objc)
pub const kIOUSBHostVMEntitlement: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"com.apple.vm.device-access\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiousbhostcontrollerinterfaceentitlement?language=objc)
pub const kIOUSBHostControllerInterfaceEntitlement: &CStr = unsafe {
    CStr::from_bytes_with_nul_unchecked(b"com.apple.developer.usb.host-controller-interface\0")
};
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiousbbillboardentitlement?language=objc)
pub const kIOUSBBillboardEntitlement: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"com.apple.developer.usb.billboard\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostmatchingpropertyspeed?language=objc)
pub const kUSBHostMatchingPropertySpeed: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"USBSpeed\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostmatchingpropertyporttype?language=objc)
pub const kUSBHostMatchingPropertyPortType: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"USBPortType\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostmatchingpropertyvendorid?language=objc)
pub const kUSBHostMatchingPropertyVendorID: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"idVendor\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostmatchingpropertyproductid?language=objc)
pub const kUSBHostMatchingPropertyProductID: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"idProduct\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostmatchingpropertyproductidmask?language=objc)
pub const kUSBHostMatchingPropertyProductIDMask: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"idProductMask\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostmatchingpropertyproductidarray?language=objc)
pub const kUSBHostMatchingPropertyProductIDArray: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"idProductArray\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostmatchingpropertydeviceclass?language=objc)
pub const kUSBHostMatchingPropertyDeviceClass: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bDeviceClass\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostmatchingpropertydevicesubclass?language=objc)
pub const kUSBHostMatchingPropertyDeviceSubClass: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bDeviceSubClass\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostmatchingpropertydeviceprotocol?language=objc)
pub const kUSBHostMatchingPropertyDeviceProtocol: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bDeviceProtocol\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostmatchingpropertydevicereleasenumber?language=objc)
pub const kUSBHostMatchingPropertyDeviceReleaseNumber: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bcdDevice\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostmatchingpropertydevicereleasenumberrange?language=objc)
pub const kUSBHostMatchingPropertyDeviceReleaseNumberRange: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bcdDeviceRange\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostmatchingpropertyconfigurationvalue?language=objc)
pub const kUSBHostMatchingPropertyConfigurationValue: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bConfigurationValue\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostmatchingpropertyinterfaceclass?language=objc)
pub const kUSBHostMatchingPropertyInterfaceClass: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bInterfaceClass\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostmatchingpropertyinterfacesubclass?language=objc)
pub const kUSBHostMatchingPropertyInterfaceSubClass: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bInterfaceSubClass\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostmatchingpropertyinterfaceprotocol?language=objc)
pub const kUSBHostMatchingPropertyInterfaceProtocol: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bInterfaceProtocol\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostmatchingpropertyinterfacenumber?language=objc)
pub const kUSBHostMatchingPropertyInterfaceNumber: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bInterfaceNumber\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostpropertylocationid?language=objc)
pub const kUSBHostPropertyLocationID: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"locationID\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostpropertydebugoptions?language=objc)
pub const kUSBHostPropertyDebugOptions: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBDebugOptions\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostpropertywakepowersupply?language=objc)
pub const kUSBHostPropertyWakePowerSupply: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBWakePowerSupply\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostpropertysleeppowersupply?language=objc)
pub const kUSBHostPropertySleepPowerSupply: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBSleepPowerSupply\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostpropertywakeportcurrentlimit?language=objc)
pub const kUSBHostPropertyWakePortCurrentLimit: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBWakePortCurrentLimit\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostpropertysleepportcurrentlimit?language=objc)
pub const kUSBHostPropertySleepPortCurrentLimit: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBSleepPortCurrentLimit\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostpropertyfailedremotewake?language=objc)
pub const kUSBHostPropertyFailedRemoteWake: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBFailedRemoteWake\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostpropertybuscurrentpoolid?language=objc)
pub const kUSBHostPropertyBusCurrentPoolID: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbBusCurrentPoolID\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostpropertysmcbuscurrentpoolid?language=objc)
pub const kUSBHostPropertySmcBusCurrentPoolID: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbSmcBusCurrentPoolID\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostpropertyforcepower?language=objc)
pub const kUSBHostPropertyForcePower: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbForcePower\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostpropertyforcelinkspeed?language=objc)
pub const kUSBHostPropertyForceLinkSpeed: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbLinkSpeed\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostpropertyforcehardwareexception?language=objc)
pub const kUSBHostPropertyForceHardwareException: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbHardwareException\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostpropertyallowsoftretry?language=objc)
pub const kUSBHostPropertyAllowSoftRetry: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbAllowSoftRetry\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostpropertyexclusiveowner?language=objc)
pub const kUSBHostPropertyExclusiveOwner: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbExclusiveOwner\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostuserclientpropertyentitlementrequired?language=objc)
pub const kUSBHostUserClientPropertyEntitlementRequired: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbUserClientEntitlementRequired\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostuserclientpropertyentitlement?language=objc)
pub const kUSBHostUserClientPropertyEntitlement: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbUserClientEntitlement\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostuserclientpropertyentitlementexceptionallowunlocked?language=objc)
pub const kUSBHostUserClientPropertyEntitlementExceptionAllowUnlocked: &CStr = unsafe {
    CStr::from_bytes_with_nul_unchecked(b"UsbUserClientEntitlementExceptionAllowUnlocked\0")
};
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostuserclientpropertyenablereset?language=objc)
pub const kUSBHostUserClientPropertyEnableReset: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbUserClientEnableReset\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostuserclientpropertyenabledatatogglereset?language=objc)
pub const kUSBHostUserClientPropertyEnableDataToggleReset: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbUserClientEnableDataToggleReset\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostuserclientpropertybufferstatistics?language=objc)
pub const kUSBHostUserClientPropertyBufferStatistics: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbUserClientBufferStatistics\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostuserclientpropertybufferallocations?language=objc)
pub const kUSBHostUserClientPropertyBufferAllocations: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbUserClientBufferAllocations\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertyvendorstring?language=objc)
pub const kUSBHostDevicePropertyVendorString: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBVendorString\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertyserialnumberstring?language=objc)
pub const kUSBHostDevicePropertySerialNumberString: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBSerialNumberString\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertycontainerid?language=objc)
pub const kUSBHostDevicePropertyContainerID: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBContainerID\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertyfailedrequestedpower?language=objc)
pub const kUSBHostDevicePropertyFailedRequestedPower: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBFailedRequestedPower\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertyusb3preferred?language=objc)
pub const kUSBHostDevicePropertyUSB3Preferred: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"Usb3LinkPreferred\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertyusb3required?language=objc)
pub const kUSBHostDevicePropertyUSB3Required: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"Usb3LinkRequired\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertyresumerecoverytime?language=objc)
pub const kUSBHostDevicePropertyResumeRecoveryTime: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBResumeRecoveryTime\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertypreferredconfiguration?language=objc)
pub const kUSBHostDevicePropertyPreferredConfiguration: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBPreferredConfiguration\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertypreferredrecoveryconfiguration?language=objc)
pub const kUSBHostDevicePropertyPreferredRecoveryConfiguration: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBPreferredRecoveryConfiguration\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertycurrentconfiguration?language=objc)
pub const kUSBHostDevicePropertyCurrentConfiguration: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBCurrentConfiguration\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertyremotewakeoverride?language=objc)
pub const kUSBHostDevicePropertyRemoteWakeOverride: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBRemoteWakeOverride\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertyconfigurationdescriptoroverride?language=objc)
pub const kUSBHostDevicePropertyConfigurationDescriptorOverride: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBConfigurationDescriptorOverride\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertydevicedescriptoroverride?language=objc)
pub const kUSBHostDevicePropertyDeviceDescriptorOverride: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBDeviceDescriptorOverride\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertyconfigurationcurrentoverride?language=objc)
pub const kUSBHostDevicePropertyConfigurationCurrentOverride: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBConfigurationCurrentOverride\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertyresetdurationoverride?language=objc)
pub const kUSBHostDevicePropertyResetDurationOverride: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBResetDurationOverride\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertydesiredchargingcurrent?language=objc)
pub const kUSBHostDevicePropertyDesiredChargingCurrent: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBDesiredChargingCurrent\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertydescriptoroverride?language=objc)
pub const kUSBHostDevicePropertyDescriptorOverride: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBDescriptorOverride\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdescriptoroverridevendorstringindex?language=objc)
pub const kUSBHostDescriptorOverrideVendorStringIndex: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbDescriptorOverrideVendorStringIndex\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdescriptoroverrideproductstringindex?language=objc)
pub const kUSBHostDescriptorOverrideProductStringIndex: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbDescriptorOverrideProductStringIndex\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdescriptoroverrideserialnumberstringindex?language=objc)
pub const kUSBHostDescriptorOverrideSerialNumberStringIndex: &CStr = unsafe {
    CStr::from_bytes_with_nul_unchecked(b"UsbDescriptorOverrideSerialNumberStringIndex\0")
};
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertydeviceecid?language=objc)
pub const kUSBHostDevicePropertyDeviceECID: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbAppleDeviceECID\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertydeviceudid?language=objc)
pub const kUSBHostDevicePropertyDeviceUDID: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbAppleDeviceUDID\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertyenablelpm?language=objc)
pub const kUSBHostDevicePropertyEnableLPM: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbLinkPowerManagement\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertydisableportlpm?language=objc)
pub const kUSBHostDevicePropertyDisablePortLPM: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBHostDeviceDisablePortLPM\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertystreamssupported?language=objc)
pub const kUSBHostDevicePropertyStreamsSupported: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbStreamsSupported\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertyenumerationstate?language=objc)
pub const kUSBHostDevicePropertyEnumerationState: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbEnumerationState\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertysignature?language=objc)
pub const kUSBHostDevicePropertySignature: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbDeviceSignature\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertytunnel?language=objc)
pub const kUSBHostDevicePropertyTunnel: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbTunnel\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertypowersinkcapability?language=objc)
pub const kUSBHostDevicePropertyPowerSinkCapability: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbPowerSinkCapability\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertypowersinkallocation?language=objc)
pub const kUSBHostDevicePropertyPowerSinkAllocation: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbPowerSinkAllocation\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertyidlepolicy?language=objc)
pub const kUSBHostDevicePropertyIdlePolicy: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbIdlePolicy\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertyversion?language=objc)
pub const kUSBHostBillboardDevicePropertyVersion: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbBillboardVersion\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertypreferredmode?language=objc)
pub const kUSBHostBillboardDevicePropertyPreferredMode: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbBillboardPreferredMode\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertycurrentmode?language=objc)
pub const kUSBHostBillboardDevicePropertyCurrentMode: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbBillboardCurrentMode\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertymodevalueusb4?language=objc)
pub const kUSBHostBillboardDevicePropertyModeValueUSB4: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"USB4\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertymodevaluethunderbolt?language=objc)
pub const kUSBHostBillboardDevicePropertyModeValueThunderbolt: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"Thunderbolt\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertymodevaluedisplayport?language=objc)
pub const kUSBHostBillboardDevicePropertyModeValueDisplayPort: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"DisplayPort\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertyaltmodefailed?language=objc)
pub const kUSBHostBillboardDevicePropertyAltModeFailed: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbBillboardAltModeFailed\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertyaltmodepowerfailed?language=objc)
pub const kUSBHostBillboardDevicePropertyAltModePowerFailed: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbBillboardAltModePowerFailed\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertynumberofalternatemodes?language=objc)
pub const kUSBHostBillboardDevicePropertyNumberOfAlternateModes: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bNumberOfAlternateModes\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertypreferredalternatemode?language=objc)
pub const kUSBHostBillboardDevicePropertyPreferredAlternateMode: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bPreferredAlternateMode\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertyvconnpower?language=objc)
pub const kUSBHostBillboardDevicePropertyVCONNPower: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"VCONNPower\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertyconfigured?language=objc)
pub const kUSBHostBillboardDevicePropertyConfigured: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bmConfigured\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertyadditionalfailureinfo?language=objc)
pub const kUSBHostBillboardDevicePropertyAdditionalFailureInfo: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bAdditonalFailureInfo\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertybcdversion?language=objc)
pub const kUSBHostBillboardDevicePropertyBcdVersion: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"BcdVersion\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertysvid?language=objc)
pub const kUSBHostBillboardDevicePropertySVID: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"wSVID\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertyalternatemode?language=objc)
pub const kUSBHostBillboardDevicePropertyAlternateMode: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bAlternateMode\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertyalternatemodestringindex?language=objc)
pub const kUSBHostBillboardDevicePropertyAlternateModeStringIndex: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"iAlternateModeString\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertyalternatemodestring?language=objc)
pub const kUSBHostBillboardDevicePropertyAlternateModeString: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"AlternateModeString\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertyaddtionalinfourlindex?language=objc)
pub const kUSBHostBillboardDevicePropertyAddtionalInfoURLIndex: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"iAddtionalInfoURL\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertyaddtionalinfourl?language=objc)
pub const kUSBHostBillboardDevicePropertyAddtionalInfoURL: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"AddtionalInfoURL\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostbillboarddevicepropertydwalternatemodevdo?language=objc)
pub const kUSBHostBillboardDevicePropertydwAlternateModeVdo: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"dwAlternateModeVdo\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostinterfacepropertyalternatesetting?language=objc)
pub const kUSBHostInterfacePropertyAlternateSetting: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bAlternateSetting\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertystatus?language=objc)
pub const kUSBHostPortPropertyStatus: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"port-status\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertyovercurrent?language=objc)
pub const kUSBHostPortPropertyOvercurrent: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbHostPortOvercurrent\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertyportnumber?language=objc)
pub const kUSBHostPortPropertyPortNumber: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"usb-port-number\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertyremovable?language=objc)
pub const kUSBHostPortPropertyRemovable: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"removable\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertytestmode?language=objc)
pub const kUSBHostPortPropertyTestMode: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBTestMode\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertyusb3compliancemode?language=objc)
pub const kUSBHostPortPropertyUsb3ComplianceMode: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBHostPortPropertyUsb3ComplianceMode\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertysimulateinterrupt?language=objc)
pub const kUSBHostPortPropertySimulateInterrupt: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBSimulateInterrupt\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertybuscurrentallocation?language=objc)
pub const kUSBHostPortPropertyBusCurrentAllocation: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBBusCurrentAllocation\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertybuscurrentsleepallocation?language=objc)
pub const kUSBHostPortPropertyBusCurrentSleepAllocation: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBBusCurrentSleepAllocation\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertyconnectable?language=objc)
pub const kUSBHostPortPropertyConnectable: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbConnectable\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertyconnectortype?language=objc)
pub const kUSBHostPortPropertyConnectorType: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbConnector\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertycompanionindex?language=objc)
pub const kUSBHostPortPropertyCompanionIndex: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBCompanionIndex\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertydisconnectinterval?language=objc)
pub const kUSBHostPortPropertyDisconnectInterval: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBDisconnectInterval\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertyusbcportnumber?language=objc)
pub const kUSBHostPortPropertyUsbCPortNumber: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbCPortNumber\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertycompanionportnumber?language=objc)
pub const kUSBHostPortPropertyCompanionPortNumber: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbCompanionPortNumber\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertypowersource?language=objc)
pub const kUSBHostPortPropertyPowerSource: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbPowerSource\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertyusb3mode?language=objc)
pub const kUSBHostPortPropertyUSB3Mode: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"Usb3Mode\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertyexternaldeviceresetcontroller?language=objc)
pub const kUSBHostPortPropertyExternalDeviceResetController: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBHostPortExternalDeviceResetController\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertyexternaldevicepowercontroller?language=objc)
pub const kUSBHostPortPropertyExternalDevicePowerController: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBHostPortExternalDevicePowerController\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertycardreader?language=objc)
pub const kUSBHostPortPropertyCardReader: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBHostPortPropertyCardReader\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertycardreadervalidatedescriptors?language=objc)
pub const kUSBHostPortPropertyCardReaderValidateDescriptors: &CStr = unsafe {
    CStr::from_bytes_with_nul_unchecked(b"kUSBHostPortPropertyCardReaderValidateDescriptors\0")
};
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertylinkspeedlimit?language=objc)
pub const kUSBHostPortPropertyLinkSpeedLimit: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbHostPortLinkSpeedLimit\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertyioportservicepath?language=objc)
pub const kUSBHostPortPropertyIOPortServicePath: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbIOPort\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertyprotocolcompanionrevision1?language=objc)
pub const kUSBHostPortPropertyProtocolCompanionRevision1: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbProtocolCompanion (1.x)\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertyprotocolcompanionrevision2?language=objc)
pub const kUSBHostPortPropertyProtocolCompanionRevision2: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbProtocolCompanion (2.0)\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertyprotocolcompanionrevision3?language=objc)
pub const kUSBHostPortPropertyProtocolCompanionRevision3: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbProtocolCompanion (3.x)\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertyprotocolrevision1?language=objc)
pub const kUSBHostPortPropertyProtocolRevision1: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbProtocol (1.x)\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertyprotocolrevision2?language=objc)
pub const kUSBHostPortPropertyProtocolRevision2: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbProtocol (2.0)\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostportpropertyprotocolrevision3?language=objc)
pub const kUSBHostPortPropertyProtocolRevision3: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbProtocol (3.x)\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhosthubpropertypowersupply?language=objc)
pub const kUSBHostHubPropertyPowerSupply: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBHubPowerSupply\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhosthubpropertyidlepolicy?language=objc)
pub const kUSBHostHubPropertyIdlePolicy: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBHubIdlePolicy\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhosthubpropertystartupdelay?language=objc)
pub const kUSBHostHubPropertyStartupDelay: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBHubStartupDelay\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhosthubpropertyportsequencedelay?language=objc)
pub const kUSBHostHubPropertyPortSequenceDelay: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBHubPortSequenceDelay\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhosthubpropertyhubpowersupplytype?language=objc)
pub const kUSBHostHubPropertyHubPowerSupplyType: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBHubPowerSupplyType\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertyisochronousrequirescontiguous?language=objc)
pub const kUSBHostControllerPropertyIsochronousRequiresContiguous: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBIsochronousRequiresContiguous\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertysleepsupported?language=objc)
pub const kUSBHostControllerPropertySleepSupported: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBSleepSupported\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertyrtd3supported?language=objc)
pub const kUSBHostControllerPropertyRTD3Supported: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbRTD3Supported\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertycompanion?language=objc)
pub const kUSBHostControllerPropertyCompanion: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBCompanion\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertylowspeedcompanion?language=objc)
pub const kUSBHostControllerPropertyLowSpeedCompanion: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBLowSpeedCompanion\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertyfullspeedcompanion?language=objc)
pub const kUSBHostControllerPropertyFullSpeedCompanion: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBFullSpeedCompanion\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertyhighspeedcompanion?language=objc)
pub const kUSBHostControllerPropertyHighSpeedCompanion: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBHighSpeedCompanion\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertysuperspeedcompanion?language=objc)
pub const kUSBHostControllerPropertySuperSpeedCompanion: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBSuperSpeedCompanion\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertyprotocolrevision?language=objc)
pub const kUSBHostControllerPropertyProtocolRevision: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbHostControllerProtocolRevision\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertycompanioncontrollername?language=objc)
pub const kUSBHostControllerPropertyCompanionControllerName: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbCompanionControllerName\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertypersistfullspeedisochronous?language=objc)
pub const kUSBHostControllerPropertyPersistFullSpeedIsochronous: &CStr = unsafe {
    CStr::from_bytes_with_nul_unchecked(b"UsbHostControllerPersistFullSpeedIsochronous\0")
};
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertydeferregisterservice?language=objc)
pub const kUSBHostControllerPropertyDeferRegisterService: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbHostControllerDeferRegisterService\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertycontrolrequestpolicy?language=objc)
pub const kUSBHostControllerPropertyControlRequestPolicy: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbHostControllerControlRequestPolicy\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertyportwakesourcespolicy?language=objc)
pub const kUSBHostControllerPropertyPortWakeSourcesPolicy: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbHostControllerPortWakeSourcesPolicy\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertysoftretrypolicy?language=objc)
pub const kUSBHostControllerPropertySoftRetryPolicy: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbHostControllerSoftRetryPolicy\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertystreampolicy?language=objc)
pub const kUSBHostControllerPropertyStreamPolicy: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbHostControllerStreamPolicy\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertyusb2lpmpolicy?language=objc)
pub const kUSBHostControllerPropertyUSB2LPMPolicy: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbHostControllerUSB2LPMPolicy\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertyusb3lpmpolicy?language=objc)
pub const kUSBHostControllerPropertyUSB3LPMPolicy: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbHostControllerUSB3LPMPolicy\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertyusb4lpmpolicy?language=objc)
pub const kUSBHostControllerPropertyUSB4LPMPolicy: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbHostControllerUSB4LPMPolicy\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertytierlimit?language=objc)
pub const kUSBHostControllerPropertyTierLimit: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbHostControllerTierLimit\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertyinterruptrmbs?language=objc)
pub const kUSBHostControllerPropertyInterruptRMBS: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbHostControllerInterruptRMBS\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostcontrollerpropertyisochronousrmbs?language=objc)
pub const kUSBHostControllerPropertyIsochronousRMBS: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsbHostControllerIsochronousRMBS\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiousbhostdeviceclassname?language=objc)
pub const kIOUSBHostDeviceClassName: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"IOUSBHostDevice\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiousbhostinterfaceclassname?language=objc)
pub const kIOUSBHostInterfaceClassName: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"IOUSBHostInterface\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertyaddress?language=objc)
pub const kUSBHostDevicePropertyAddress: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBAddress\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertymanufacturerstringindex?language=objc)
pub const kUSBHostDevicePropertyManufacturerStringIndex: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"iManufacturer\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertyserialnumberstringindex?language=objc)
pub const kUSBHostDevicePropertySerialNumberStringIndex: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"iSerialNumber\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertyproductstringindex?language=objc)
pub const kUSBHostDevicePropertyProductStringIndex: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"iProduct\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertyproductstring?language=objc)
pub const kUSBHostDevicePropertyProductString: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBProductString\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertynumconfigs?language=objc)
pub const kUSBHostDevicePropertyNumConfigs: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bNumConfigurations\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertymaxpacketsize?language=objc)
pub const kUSBHostDevicePropertyMaxPacketSize: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bMaxPacketSize0\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostdevicepropertystandardversion?language=objc)
pub const kUSBHostDevicePropertyStandardVersion: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bcdUSB\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostinterfacepropertystringindex?language=objc)
pub const kUSBHostInterfacePropertyStringIndex: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"iInterface\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostinterfacepropertystring?language=objc)
pub const kUSBHostInterfacePropertyString: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"kUSBString\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kusbhostinterfacepropertynumendpoints?language=objc)
pub const kUSBHostInterfacePropertyNumEndpoints: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"bNumEndpoints\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kapplemaxportcurrent?language=objc)
pub const kAppleMaxPortCurrent: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"AAPL,current-available\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kapplecurrentextra?language=objc)
pub const kAppleCurrentExtra: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"AAPL,current-extra\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kapplemaxportcurrentinsleep?language=objc)
pub const kAppleMaxPortCurrentInSleep: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"AAPL,max-port-current-in-sleep\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kapplecurrentextrainsleep?language=objc)
pub const kAppleCurrentExtraInSleep: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"AAPL,current-extra-in-sleep\0") };
/// Connection speeds reported in kUSBHostMatchingPropertySpeed
///
/// This enumeration matches the default speed ID mappings defined in XHCI 1.0 Table 147.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/tiousbhostconnectionspeed?language=objc)
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct tIOUSBHostConnectionSpeed(pub c_uint);
impl tIOUSBHostConnectionSpeed {
    #[doc(alias = "kIOUSBHostConnectionSpeedNone")]
    pub const IOUSBHostConnectionSpeedNone: Self = Self(0);
    #[doc(alias = "kIOUSBHostConnectionSpeedFull")]
    pub const IOUSBHostConnectionSpeedFull: Self = Self(1);
    #[doc(alias = "kIOUSBHostConnectionSpeedLow")]
    pub const IOUSBHostConnectionSpeedLow: Self = Self(2);
    #[doc(alias = "kIOUSBHostConnectionSpeedHigh")]
    pub const IOUSBHostConnectionSpeedHigh: Self = Self(3);
    #[doc(alias = "kIOUSBHostConnectionSpeedSuper")]
    pub const IOUSBHostConnectionSpeedSuper: Self = Self(4);
    #[doc(alias = "kIOUSBHostConnectionSpeedSuperPlus")]
    pub const IOUSBHostConnectionSpeedSuperPlus: Self = Self(5);
    #[doc(alias = "kIOUSBHostConnectionSpeedSuperPlusBy2")]
    pub const IOUSBHostConnectionSpeedSuperPlusBy2: Self = Self(6);
    #[doc(alias = "kIOUSBHostConnectionSpeedCount")]
    pub const IOUSBHostConnectionSpeedCount: Self = Self(7);
}

#[cfg(feature = "objc2")]
unsafe impl Encode for tIOUSBHostConnectionSpeed {
    const ENCODING: Encoding = c_uint::ENCODING;
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for tIOUSBHostConnectionSpeed {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// Port types returned by IOUSBHostDevice::getPortStatus and kUSBHostPortPropertyStatus
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/tiousbhostporttype?language=objc)
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct tIOUSBHostPortType(pub c_uint);
impl tIOUSBHostPortType {
    #[doc(alias = "kIOUSBHostPortTypeStandard")]
    pub const IOUSBHostPortTypeStandard: Self = Self(0);
    #[doc(alias = "kIOUSBHostPortTypeCaptive")]
    pub const IOUSBHostPortTypeCaptive: Self = Self(1);
    #[doc(alias = "kIOUSBHostPortTypeInternal")]
    pub const IOUSBHostPortTypeInternal: Self = Self(2);
    #[doc(alias = "kIOUSBHostPortTypeAccessory")]
    pub const IOUSBHostPortTypeAccessory: Self = Self(3);
    #[doc(alias = "kIOUSBHostPortTypeExpressCard")]
    pub const IOUSBHostPortTypeExpressCard: Self = Self(4);
    #[doc(alias = "kIOUSBHostPortTypeC")]
    pub const IOUSBHostPortTypeC: Self = Self(5);
    #[doc(alias = "kIOUSBHostPortTypeUnknown")]
    pub const IOUSBHostPortTypeUnknown: Self = Self(6);
}

#[cfg(feature = "objc2")]
unsafe impl Encode for tIOUSBHostPortType {
    const ENCODING: Encoding = c_uint::ENCODING;
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for tIOUSBHostPortType {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// Values returned by IOUSBHostDevice::getPortStatus  and kUSBHostPortPropertyStatus
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/tiousbhostportstatus?language=objc)
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct tIOUSBHostPortStatus(pub c_uint);
impl tIOUSBHostPortStatus {
    #[doc(alias = "kIOUSBHostPortStatusPortTypeMask")]
    pub const IOUSBHostPortStatusPortTypeMask: Self = Self(IOUSBHostFamilyBitRange!(0, 3));
    #[doc(alias = "kIOUSBHostPortStatusPortTypePhase")]
    pub const IOUSBHostPortStatusPortTypePhase: Self = Self(IOUSBHostFamilyBitRangePhase!(0, 3));
    #[doc(alias = "kIOUSBHostPortStatusPortTypeStandard")]
    pub const IOUSBHostPortStatusPortTypeStandard: Self = Self(
        tIOUSBHostPortType::IOUSBHostPortTypeStandard.0 << IOUSBHostFamilyBitRangePhase!(0, 3),
    );
    #[doc(alias = "kIOUSBHostPortStatusPortTypeCaptive")]
    pub const IOUSBHostPortStatusPortTypeCaptive: Self =
        Self(tIOUSBHostPortType::IOUSBHostPortTypeCaptive.0 << IOUSBHostFamilyBitRangePhase!(0, 3));
    #[doc(alias = "kIOUSBHostPortStatusPortTypeInternal")]
    pub const IOUSBHostPortStatusPortTypeInternal: Self = Self(
        tIOUSBHostPortType::IOUSBHostPortTypeInternal.0 << IOUSBHostFamilyBitRangePhase!(0, 3),
    );
    #[doc(alias = "kIOUSBHostPortStatusPortTypeAccessory")]
    pub const IOUSBHostPortStatusPortTypeAccessory: Self = Self(
        tIOUSBHostPortType::IOUSBHostPortTypeAccessory.0 << IOUSBHostFamilyBitRangePhase!(0, 3),
    );
    #[doc(alias = "kIOUSBHostPortStatusPortTypeReserved")]
    pub const IOUSBHostPortStatusPortTypeReserved: Self = Self(IOUSBHostFamilyBitRange!(4, 7));
    #[doc(alias = "kIOUSBHostPortStatusConnectedSpeedMask")]
    pub const IOUSBHostPortStatusConnectedSpeedMask: Self = Self(IOUSBHostFamilyBitRange!(8, 10));
    #[doc(alias = "kIOUSBHostPortStatusConnectedSpeedPhase")]
    pub const IOUSBHostPortStatusConnectedSpeedPhase: Self =
        Self(IOUSBHostFamilyBitRangePhase!(8, 10));
    #[doc(alias = "kIOUSBHostPortStatusConnectedSpeedNone")]
    pub const IOUSBHostPortStatusConnectedSpeedNone: Self = Self(
        tIOUSBHostConnectionSpeed::IOUSBHostConnectionSpeedNone.0
            << IOUSBHostFamilyBitRangePhase!(8, 10),
    );
    #[doc(alias = "kIOUSBHostPortStatusConnectedSpeedFull")]
    pub const IOUSBHostPortStatusConnectedSpeedFull: Self = Self(
        tIOUSBHostConnectionSpeed::IOUSBHostConnectionSpeedFull.0
            << IOUSBHostFamilyBitRangePhase!(8, 10),
    );
    #[doc(alias = "kIOUSBHostPortStatusConnectedSpeedLow")]
    pub const IOUSBHostPortStatusConnectedSpeedLow: Self = Self(
        tIOUSBHostConnectionSpeed::IOUSBHostConnectionSpeedLow.0
            << IOUSBHostFamilyBitRangePhase!(8, 10),
    );
    #[doc(alias = "kIOUSBHostPortStatusConnectedSpeedHigh")]
    pub const IOUSBHostPortStatusConnectedSpeedHigh: Self = Self(
        tIOUSBHostConnectionSpeed::IOUSBHostConnectionSpeedHigh.0
            << IOUSBHostFamilyBitRangePhase!(8, 10),
    );
    #[doc(alias = "kIOUSBHostPortStatusConnectedSpeedSuper")]
    pub const IOUSBHostPortStatusConnectedSpeedSuper: Self = Self(
        tIOUSBHostConnectionSpeed::IOUSBHostConnectionSpeedSuper.0
            << IOUSBHostFamilyBitRangePhase!(8, 10),
    );
    #[doc(alias = "kIOUSBHostPortStatusConnectedSpeedSuperPlus")]
    pub const IOUSBHostPortStatusConnectedSpeedSuperPlus: Self = Self(
        tIOUSBHostConnectionSpeed::IOUSBHostConnectionSpeedSuperPlus.0
            << IOUSBHostFamilyBitRangePhase!(8, 10),
    );
    #[doc(alias = "kIOUSBHostPortStatusConnectedSpeedSuperPlusBy2")]
    pub const IOUSBHostPortStatusConnectedSpeedSuperPlusBy2: Self = Self(
        tIOUSBHostConnectionSpeed::IOUSBHostConnectionSpeedSuperPlusBy2.0
            << IOUSBHostFamilyBitRangePhase!(8, 10),
    );
    #[doc(alias = "kIOUSBHostPortStatusResetting")]
    pub const IOUSBHostPortStatusResetting: Self = Self(IOUSBHostFamilyBit!(11));
    #[doc(alias = "kIOUSBHostPortStatusEnabled")]
    pub const IOUSBHostPortStatusEnabled: Self = Self(IOUSBHostFamilyBit!(12));
    #[doc(alias = "kIOUSBHostPortStatusSuspended")]
    pub const IOUSBHostPortStatusSuspended: Self = Self(IOUSBHostFamilyBit!(13));
    #[doc(alias = "kIOUSBHostPortStatusOvercurrent")]
    pub const IOUSBHostPortStatusOvercurrent: Self = Self(IOUSBHostFamilyBit!(14));
    #[doc(alias = "kIOUSBHostPortStatusTestMode")]
    pub const IOUSBHostPortStatusTestMode: Self = Self(IOUSBHostFamilyBit!(15));
}

#[cfg(feature = "objc2")]
unsafe impl Encode for tIOUSBHostPortStatus {
    const ENCODING: Encoding = c_uint::ENCODING;
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for tIOUSBHostPortStatus {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}