winpnp 0.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,742 @@
1
+ from uuid import UUID
2
+
3
+ from winpnp.properties import kinds
4
+ from winpnp.properties.pnp_property import PnpPropertyKey
5
+
6
+ DEVICE_DESC = PnpPropertyKey.register_new(
7
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
8
+ 2,
9
+ "Device_DeviceDesc",
10
+ (kinds.STRING,),
11
+ )
12
+
13
+ HARDWARE_IDS = PnpPropertyKey.register_new(
14
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
15
+ 3,
16
+ "Device_HardwareIds",
17
+ (kinds.STRING_LIST,),
18
+ )
19
+
20
+
21
+ COMPATIBLE_IDS = PnpPropertyKey.register_new(
22
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
23
+ 4,
24
+ "Device_CompatibleIds",
25
+ (kinds.STRING_LIST,),
26
+ )
27
+
28
+ SERVICE = PnpPropertyKey.register_new(
29
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"), 6, "Device_Service", (kinds.STRING,)
30
+ )
31
+
32
+ CLASS = PnpPropertyKey.register_new(
33
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"), 9, "Device_Class", (kinds.STRING,)
34
+ )
35
+
36
+ CLASS_GUID = PnpPropertyKey.register_new(
37
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"), 10, "Device_ClassGuid", (kinds.GUID,)
38
+ )
39
+
40
+ DRIVER = PnpPropertyKey.register_new(
41
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"), 11, "Device_Driver", (kinds.STRING,)
42
+ )
43
+
44
+ CONFIG_FLAGS = PnpPropertyKey.register_new(
45
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
46
+ 12,
47
+ "Device_ConfigFlags",
48
+ (kinds.UINT32,),
49
+ )
50
+
51
+ MANUFACTURER = PnpPropertyKey.register_new(
52
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
53
+ 13,
54
+ "Device_Manufacturer",
55
+ (kinds.STRING,),
56
+ )
57
+
58
+ FRIENDLY_NAME = PnpPropertyKey.register_new(
59
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
60
+ 14,
61
+ "Device_FriendlyName",
62
+ (kinds.STRING,),
63
+ )
64
+
65
+ LOCATION_INFO = PnpPropertyKey.register_new(
66
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
67
+ 15,
68
+ "Device_LocationInfo",
69
+ (kinds.STRING,),
70
+ )
71
+
72
+ PDO_NAME = PnpPropertyKey.register_new(
73
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"), 16, "Device_PDOName", (kinds.STRING,)
74
+ )
75
+
76
+ CAPABILITIES = PnpPropertyKey.register_new(
77
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
78
+ 17,
79
+ "Device_Capabilities",
80
+ (kinds.UINT32,),
81
+ )
82
+
83
+ UI_NUMBER = PnpPropertyKey.register_new(
84
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
85
+ 18,
86
+ "Device_UINumber",
87
+ (kinds.UINT32,),
88
+ )
89
+
90
+ UPPER_FILTERS = PnpPropertyKey.register_new(
91
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
92
+ 19,
93
+ "Device_UpperFilters",
94
+ (kinds.STRING_LIST,),
95
+ )
96
+
97
+ LOWER_FILTERS = PnpPropertyKey.register_new(
98
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
99
+ 20,
100
+ "Device_LowerFilters",
101
+ (kinds.STRING_LIST,),
102
+ )
103
+
104
+ BUS_TYPE_GUID = PnpPropertyKey.register_new(
105
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
106
+ 21,
107
+ "Device_BusTypeGuid",
108
+ (kinds.GUID,),
109
+ )
110
+
111
+ LEGACY_BUS_TYPE = PnpPropertyKey.register_new(
112
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
113
+ 22,
114
+ "Device_LegacyBusType",
115
+ (kinds.UINT32,),
116
+ )
117
+
118
+ BUS_NUMBER = PnpPropertyKey.register_new(
119
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
120
+ 23,
121
+ "Device_BusNumber",
122
+ (kinds.UINT32,),
123
+ )
124
+
125
+ ENUMERATOR_NAME = PnpPropertyKey.register_new(
126
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
127
+ 24,
128
+ "Device_EnumeratorName",
129
+ (kinds.STRING,),
130
+ )
131
+
132
+ SECURITY = PnpPropertyKey.register_new(
133
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
134
+ 25,
135
+ "Device_Security",
136
+ (kinds.SECURITY_DESCRIPTOR,),
137
+ )
138
+
139
+ SECURITY_SDS = PnpPropertyKey.register_new(
140
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
141
+ 26,
142
+ "Device_SecuritySDS",
143
+ (kinds.SECURITY_DESCRIPTOR_STRING,),
144
+ )
145
+
146
+ DEV_TYPE = PnpPropertyKey.register_new(
147
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"), 27, "Device_DevType", (kinds.UINT32,)
148
+ )
149
+
150
+ EXCLUSIVE = PnpPropertyKey.register_new(
151
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
152
+ 28,
153
+ "Device_Exclusive",
154
+ (kinds.BOOLEAN,),
155
+ )
156
+
157
+ CHARACTERISTICS = PnpPropertyKey.register_new(
158
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
159
+ 29,
160
+ "Device_Characteristics",
161
+ (kinds.UINT32,),
162
+ )
163
+
164
+ ADDRESS = PnpPropertyKey.register_new(
165
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"), 30, "Device_Address", (kinds.UINT32,)
166
+ )
167
+
168
+ UI_NUMBER_DESC_FORMAT = PnpPropertyKey.register_new(
169
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
170
+ 31,
171
+ "Device_UINumberDescFormat",
172
+ (kinds.STRING,),
173
+ )
174
+
175
+ POWER_DATA = PnpPropertyKey.register_new(
176
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
177
+ 32,
178
+ "Device_PowerData",
179
+ (kinds.BYTE_ARRAY,),
180
+ )
181
+
182
+ REMOVAL_POLICY = PnpPropertyKey.register_new(
183
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
184
+ 33,
185
+ "Device_RemovalPolicy",
186
+ (kinds.UINT32,),
187
+ )
188
+
189
+ REMOVAL_POLICY_DEFAULT = PnpPropertyKey.register_new(
190
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
191
+ 34,
192
+ "Device_RemovalPolicyDefault",
193
+ (kinds.UINT32,),
194
+ )
195
+
196
+ REMOVAL_POLICY_OVERRIDE = PnpPropertyKey.register_new(
197
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
198
+ 35,
199
+ "Device_RemovalPolicyOverride",
200
+ (kinds.UINT32,),
201
+ )
202
+
203
+ INSTALL_STATE = PnpPropertyKey.register_new(
204
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
205
+ 36,
206
+ "Device_InstallState",
207
+ (kinds.UINT32,),
208
+ )
209
+
210
+ LOCATION_PATHS = PnpPropertyKey.register_new(
211
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
212
+ 37,
213
+ "Device_LocationPaths",
214
+ (kinds.STRING_LIST,),
215
+ )
216
+
217
+ BASE_CONTAINER_ID = PnpPropertyKey.register_new(
218
+ UUID("{a45c254e-df1c-4efd-802067d146a850e0}"),
219
+ 38,
220
+ "Device_BaseContainerId",
221
+ (kinds.GUID,),
222
+ )
223
+
224
+ INSTANCE_ID = PnpPropertyKey.register_new(
225
+ UUID("{78c34fc8-104a-4aca-9ea4524d52996e57}"),
226
+ 256,
227
+ "Device_InstanceId",
228
+ (kinds.STRING,),
229
+ )
230
+
231
+ DEV_NODE_STATUS = PnpPropertyKey.register_new(
232
+ UUID("{4340a6c5-93fa-4706-972c7b648008a5a7}"),
233
+ 2,
234
+ "Device_DevNodeStatus",
235
+ (kinds.UINT32,),
236
+ )
237
+
238
+ PROBLEM_CODE = PnpPropertyKey.register_new(
239
+ UUID("{4340a6c5-93fa-4706-972c7b648008a5a7}"),
240
+ 3,
241
+ "Device_ProblemCode",
242
+ (kinds.UINT32,),
243
+ )
244
+
245
+ EJECTION_RELATIONS = PnpPropertyKey.register_new(
246
+ UUID("{4340a6c5-93fa-4706-972c7b648008a5a7}"),
247
+ 4,
248
+ "Device_EjectionRelations",
249
+ (kinds.STRING_LIST,),
250
+ )
251
+
252
+ REMOVAL_RELATIONS = PnpPropertyKey.register_new(
253
+ UUID("{4340a6c5-93fa-4706-972c7b648008a5a7}"),
254
+ 5,
255
+ "Device_RemovalRelations",
256
+ (kinds.STRING_LIST,),
257
+ )
258
+
259
+ POWER_RELATIONS = PnpPropertyKey.register_new(
260
+ UUID("{4340a6c5-93fa-4706-972c7b648008a5a7}"),
261
+ 6,
262
+ "Device_PowerRelations",
263
+ (kinds.STRING_LIST,),
264
+ )
265
+
266
+ BUS_RELATIONS = PnpPropertyKey.register_new(
267
+ UUID("{4340a6c5-93fa-4706-972c7b648008a5a7}"),
268
+ 7,
269
+ "Device_BusRelations",
270
+ (kinds.STRING_LIST,),
271
+ )
272
+
273
+ PARENT = PnpPropertyKey.register_new(
274
+ UUID("{4340a6c5-93fa-4706-972c7b648008a5a7}"), 8, "Device_Parent", (kinds.STRING,)
275
+ )
276
+
277
+ CHILDREN = PnpPropertyKey.register_new(
278
+ UUID("{4340a6c5-93fa-4706-972c7b648008a5a7}"),
279
+ 9,
280
+ "Device_Children",
281
+ (kinds.STRING_LIST,),
282
+ )
283
+
284
+ SIBLINGS = PnpPropertyKey.register_new(
285
+ UUID("{4340a6c5-93fa-4706-972c7b648008a5a7}"),
286
+ 10,
287
+ "Device_Siblings",
288
+ (kinds.STRING_LIST,),
289
+ )
290
+
291
+ TRANSPORT_RELATIONS = PnpPropertyKey.register_new(
292
+ UUID("{4340a6c5-93fa-4706-972c7b648008a5a7}"),
293
+ 11,
294
+ "Device_TransportRelations",
295
+ (kinds.STRING_LIST,),
296
+ )
297
+
298
+ PROBLEM_STATUS = PnpPropertyKey.register_new(
299
+ UUID("{4340a6c5-93fa-4706-972c7b648008a5a7}"),
300
+ 12,
301
+ "Device_ProblemStatus",
302
+ (kinds.NTSTATUS,),
303
+ )
304
+
305
+ REPORTED = PnpPropertyKey.register_new(
306
+ UUID("{80497100-8c73-48b9-aad9ce387e19c56e}"),
307
+ 2,
308
+ "Device_Reported",
309
+ (kinds.BOOLEAN,),
310
+ )
311
+
312
+ LEGACY = PnpPropertyKey.register_new(
313
+ UUID("{80497100-8c73-48b9-aad9ce387e19c56e}"), 3, "Device_Legacy", (kinds.BOOLEAN,)
314
+ )
315
+
316
+ CONTAINER_ID = PnpPropertyKey.register_new(
317
+ UUID("{8c7ed206-3f8a-4827-b3abae9e1faefc6c}"),
318
+ 2,
319
+ "Device_ContainerId",
320
+ (kinds.GUID,),
321
+ )
322
+
323
+ IN_LOCAL_MACHINE_CONTAINER = PnpPropertyKey.register_new(
324
+ UUID("{8c7ed206-3f8a-4827-b3abae9e1faefc6c}"),
325
+ 4,
326
+ "Device_InLocalMachineContainer",
327
+ (kinds.BOOLEAN,),
328
+ )
329
+
330
+ MODEL = PnpPropertyKey.register_new(
331
+ UUID("{78c34fc8-104a-4aca-9ea4524d52996e57}"), 39, "Device_Model", (kinds.STRING,)
332
+ )
333
+
334
+ MODEL_ID = PnpPropertyKey.register_new(
335
+ UUID("{80d81ea6-7473-4b0c-8216efc11a2c4c8b}"), 2, "Device_ModelId", (kinds.GUID,)
336
+ )
337
+
338
+ FRIENDLY_NAME_ATTRIBUTES = PnpPropertyKey.register_new(
339
+ UUID("{80d81ea6-7473-4b0c-8216efc11a2c4c8b}"),
340
+ 3,
341
+ "Device_FriendlyNameAttributes",
342
+ (kinds.UINT32,),
343
+ )
344
+
345
+ MANUFACTURER_ATTRIBUTES = PnpPropertyKey.register_new(
346
+ UUID("{80d81ea6-7473-4b0c-8216efc11a2c4c8b}"),
347
+ 4,
348
+ "Device_ManufacturerAttributes",
349
+ (kinds.UINT32,),
350
+ )
351
+
352
+ PRESENCE_NOT_FOR_DEVICE = PnpPropertyKey.register_new(
353
+ UUID("{80d81ea6-7473-4b0c-8216efc11a2c4c8b}"),
354
+ 5,
355
+ "Device_PresenceNotForDevice",
356
+ (kinds.BOOLEAN,),
357
+ )
358
+
359
+ SIGNAL_STRENGTH = PnpPropertyKey.register_new(
360
+ UUID("{80d81ea6-7473-4b0c-8216efc11a2c4c8b}"),
361
+ 6,
362
+ "Device_SignalStrength",
363
+ (kinds.INT32,),
364
+ )
365
+
366
+ IS_ASSOCIATEABLE_BY_USER_ACTION = PnpPropertyKey.register_new(
367
+ UUID("{80d81ea6-7473-4b0c-8216efc11a2c4c8b}"),
368
+ 7,
369
+ "Device_IsAssociateableByUserAction",
370
+ (kinds.BOOLEAN,),
371
+ )
372
+
373
+ SHOW_IN_UNINSTALL_UI = PnpPropertyKey.register_new(
374
+ UUID("{80d81ea6-7473-4b0c-8216efc11a2c4c8b}"),
375
+ 8,
376
+ "Device_ShowInUninstallUI",
377
+ (kinds.BOOLEAN,),
378
+ )
379
+
380
+ COMPANION_APPS = PnpPropertyKey.register_new(
381
+ UUID("{6a742654-d0b2-4420-a523e068352ac1df}"),
382
+ 2,
383
+ "Device_CompanionApps",
384
+ (kinds.STRING_LIST,),
385
+ )
386
+
387
+ PRIMARY_COMPANION_APP = PnpPropertyKey.register_new(
388
+ UUID("{6a742654-d0b2-4420-a523e068352ac1df}"),
389
+ 3,
390
+ "Device_PrimaryCompanionApp",
391
+ (kinds.STRING,),
392
+ )
393
+
394
+ NUMA_PROXIMITY_DOMAIN = PnpPropertyKey.register_new(
395
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
396
+ 1,
397
+ "Device_Numa_Proximity_Domain",
398
+ (kinds.UINT32,),
399
+ )
400
+
401
+ DHP_REBALANCE_POLICY = PnpPropertyKey.register_new(
402
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
403
+ 2,
404
+ "Device_DHP_Rebalance_Policy",
405
+ (kinds.UINT32,),
406
+ )
407
+
408
+ NUMA_NODE = PnpPropertyKey.register_new(
409
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
410
+ 3,
411
+ "Device_Numa_Node",
412
+ (kinds.UINT32,),
413
+ )
414
+
415
+ BUS_REPORTED_DEVICE_DESC = PnpPropertyKey.register_new(
416
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
417
+ 4,
418
+ "Device_BusReportedDeviceDesc",
419
+ (kinds.STRING,),
420
+ )
421
+
422
+ IS_PRESENT = PnpPropertyKey.register_new(
423
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
424
+ 5,
425
+ "Device_IsPresent",
426
+ (kinds.BOOLEAN,),
427
+ )
428
+
429
+ HAS_PROBLEM = PnpPropertyKey.register_new(
430
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
431
+ 6,
432
+ "Device_HasProblem",
433
+ (kinds.BOOLEAN,),
434
+ )
435
+
436
+ CONFIGURATION_ID = PnpPropertyKey.register_new(
437
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
438
+ 7,
439
+ "Device_ConfigurationId",
440
+ (kinds.STRING,),
441
+ )
442
+
443
+ REPORTED_DEVICE_IDS_HASH = PnpPropertyKey.register_new(
444
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
445
+ 8,
446
+ "Device_ReportedDeviceIdsHash",
447
+ (kinds.UINT32,),
448
+ )
449
+
450
+ PHYSICAL_DEVICE_LOCATION = PnpPropertyKey.register_new(
451
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
452
+ 9,
453
+ "Device_PhysicalDeviceLocation",
454
+ (kinds.BYTE_ARRAY,),
455
+ )
456
+
457
+ BIOS_DEVICE_NAME = PnpPropertyKey.register_new(
458
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
459
+ 10,
460
+ "Device_BiosDeviceName",
461
+ (kinds.STRING,),
462
+ )
463
+
464
+ DRIVER_PROBLEM_DESC = PnpPropertyKey.register_new(
465
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
466
+ 11,
467
+ "Device_DriverProblemDesc",
468
+ (kinds.STRING,),
469
+ )
470
+
471
+ DEBUGGER_SAFE = PnpPropertyKey.register_new(
472
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
473
+ 12,
474
+ "Device_DebuggerSafe",
475
+ (kinds.UINT32,),
476
+ )
477
+
478
+ POST_INSTALL_IN_PROGRESS = PnpPropertyKey.register_new(
479
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
480
+ 13,
481
+ "Device_PostInstallInProgress",
482
+ (kinds.BOOLEAN,),
483
+ )
484
+
485
+ STACK = PnpPropertyKey.register_new(
486
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
487
+ 14,
488
+ "Device_Stack",
489
+ (kinds.STRING_LIST,),
490
+ )
491
+
492
+ EXTENDED_CONFIGURATION_IDS = PnpPropertyKey.register_new(
493
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
494
+ 15,
495
+ "Device_ExtendedConfigurationIds",
496
+ (kinds.STRING_LIST,),
497
+ )
498
+
499
+ IS_REBOOT_REQUIRED = PnpPropertyKey.register_new(
500
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
501
+ 16,
502
+ "Device_IsRebootRequired",
503
+ (kinds.BOOLEAN,),
504
+ )
505
+
506
+ FIRMWARE_DATE = PnpPropertyKey.register_new(
507
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
508
+ 17,
509
+ "Device_FirmwareDate",
510
+ (kinds.FILETIME,),
511
+ )
512
+
513
+ FIRMWARE_VERSION = PnpPropertyKey.register_new(
514
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
515
+ 18,
516
+ "Device_FirmwareVersion",
517
+ (kinds.STRING,),
518
+ )
519
+
520
+ FIRMWARE_REVISION = PnpPropertyKey.register_new(
521
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
522
+ 19,
523
+ "Device_FirmwareRevision",
524
+ (kinds.STRING,),
525
+ )
526
+
527
+ DEPENDENCY_PROVIDERS = PnpPropertyKey.register_new(
528
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
529
+ 20,
530
+ "Device_DependencyProviders",
531
+ (kinds.STRING_LIST,),
532
+ )
533
+
534
+ DEPENDENCY_DEPENDENTS = PnpPropertyKey.register_new(
535
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
536
+ 21,
537
+ "Device_DependencyDependents",
538
+ (kinds.STRING_LIST,),
539
+ )
540
+
541
+ SOFT_RESTART_SUPPORTED = PnpPropertyKey.register_new(
542
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
543
+ 22,
544
+ "Device_SoftRestartSupported",
545
+ (kinds.BOOLEAN,),
546
+ )
547
+
548
+ EXTENDED_ADDRESS = PnpPropertyKey.register_new(
549
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
550
+ 23,
551
+ "Device_ExtendedAddress",
552
+ (kinds.UINT64,),
553
+ )
554
+
555
+ ASSIGNED_TO_GUEST = PnpPropertyKey.register_new(
556
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
557
+ 24,
558
+ "Device_AssignedToGuest",
559
+ (kinds.BOOLEAN,),
560
+ )
561
+
562
+ CREATOR_PROCESS_ID = PnpPropertyKey.register_new(
563
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
564
+ 25,
565
+ "Device_CreatorProcessId",
566
+ (kinds.UINT32,),
567
+ )
568
+
569
+ FIRMWARE_VENDOR = PnpPropertyKey.register_new(
570
+ UUID("{540b947e-8b40-45bc-a8a26a0b894cbda2}"),
571
+ 26,
572
+ "Device_FirmwareVendor",
573
+ (kinds.STRING,),
574
+ )
575
+
576
+ SESSION_ID = PnpPropertyKey.register_new(
577
+ UUID("{83da6326-97a6-4088-9453a1923f573b29}"),
578
+ 6,
579
+ "Device_SessionId",
580
+ (kinds.UINT32,),
581
+ )
582
+
583
+ INSTALL_DATE = PnpPropertyKey.register_new(
584
+ UUID("{83da6326-97a6-4088-9453a1923f573b29}"),
585
+ 100,
586
+ "Device_InstallDate",
587
+ (kinds.FILETIME,),
588
+ )
589
+
590
+ FIRST_INSTALL_DATE = PnpPropertyKey.register_new(
591
+ UUID("{83da6326-97a6-4088-9453a1923f573b29}"),
592
+ 101,
593
+ "Device_FirstInstallDate",
594
+ (kinds.FILETIME,),
595
+ )
596
+
597
+ LAST_ARRIVAL_DATE = PnpPropertyKey.register_new(
598
+ UUID("{83da6326-97a6-4088-9453a1923f573b29}"),
599
+ 102,
600
+ "Device_LastArrivalDate",
601
+ (kinds.FILETIME,),
602
+ )
603
+
604
+ LAST_REMOVAL_DATE = PnpPropertyKey.register_new(
605
+ UUID("{83da6326-97a6-4088-9453a1923f573b29}"),
606
+ 103,
607
+ "Device_LastRemovalDate",
608
+ (kinds.FILETIME,),
609
+ )
610
+
611
+ DRIVER_DATE = PnpPropertyKey.register_new(
612
+ UUID("{a8b865dd-2e3d-4094-ad97e593a70c75d6}"),
613
+ 2,
614
+ "Device_DriverDate",
615
+ (kinds.FILETIME,),
616
+ )
617
+
618
+ DRIVER_VERSION = PnpPropertyKey.register_new(
619
+ UUID("{a8b865dd-2e3d-4094-ad97e593a70c75d6}"),
620
+ 3,
621
+ "Device_DriverVersion",
622
+ (kinds.STRING,),
623
+ )
624
+
625
+ DRIVER_DESC = PnpPropertyKey.register_new(
626
+ UUID("{a8b865dd-2e3d-4094-ad97e593a70c75d6}"),
627
+ 4,
628
+ "Device_DriverDesc",
629
+ (kinds.STRING,),
630
+ )
631
+
632
+ DRIVER_INF_PATH = PnpPropertyKey.register_new(
633
+ UUID("{a8b865dd-2e3d-4094-ad97e593a70c75d6}"),
634
+ 5,
635
+ "Device_DriverInfPath",
636
+ (kinds.STRING,),
637
+ )
638
+
639
+ DRIVER_INF_SECTION = PnpPropertyKey.register_new(
640
+ UUID("{a8b865dd-2e3d-4094-ad97e593a70c75d6}"),
641
+ 6,
642
+ "Device_DriverInfSection",
643
+ (kinds.STRING,),
644
+ )
645
+
646
+ DRIVER_INF_SECTION_EXT = PnpPropertyKey.register_new(
647
+ UUID("{a8b865dd-2e3d-4094-ad97e593a70c75d6}"),
648
+ 7,
649
+ "Device_DriverInfSectionExt",
650
+ (kinds.STRING,),
651
+ )
652
+
653
+ MATCHING_DEVICE_ID = PnpPropertyKey.register_new(
654
+ UUID("{a8b865dd-2e3d-4094-ad97e593a70c75d6}"),
655
+ 8,
656
+ "Device_MatchingDeviceId",
657
+ (kinds.STRING,),
658
+ )
659
+
660
+ DRIVER_PROVIDER = PnpPropertyKey.register_new(
661
+ UUID("{a8b865dd-2e3d-4094-ad97e593a70c75d6}"),
662
+ 9,
663
+ "Device_DriverProvider",
664
+ (kinds.STRING,),
665
+ )
666
+
667
+ DRIVER_PROP_PAGE_PROVIDER = PnpPropertyKey.register_new(
668
+ UUID("{a8b865dd-2e3d-4094-ad97e593a70c75d6}"),
669
+ 10,
670
+ "Device_DriverPropPageProvider",
671
+ (kinds.STRING,),
672
+ )
673
+
674
+ DRIVER_CO_INSTALLERS = PnpPropertyKey.register_new(
675
+ UUID("{a8b865dd-2e3d-4094-ad97e593a70c75d6}"),
676
+ 11,
677
+ "Device_DriverCoInstallers",
678
+ (kinds.STRING_LIST,),
679
+ )
680
+
681
+ RESOURCE_PICKER_TAGS = PnpPropertyKey.register_new(
682
+ UUID("{a8b865dd-2e3d-4094-ad97e593a70c75d6}"),
683
+ 12,
684
+ "Device_ResourcePickerTags",
685
+ (kinds.STRING,),
686
+ )
687
+
688
+ RESOURCE_PICKER_EXCEPTIONS = PnpPropertyKey.register_new(
689
+ UUID("{a8b865dd-2e3d-4094-ad97e593a70c75d6}"),
690
+ 13,
691
+ "Device_ResourcePickerExceptions",
692
+ (kinds.STRING,),
693
+ )
694
+
695
+ DRIVER_RANK = PnpPropertyKey.register_new(
696
+ UUID("{a8b865dd-2e3d-4094-ad97e593a70c75d6}"),
697
+ 14,
698
+ "Device_DriverRank",
699
+ (kinds.UINT32,),
700
+ )
701
+
702
+ DRIVER_LOGO_LEVEL = PnpPropertyKey.register_new(
703
+ UUID("{a8b865dd-2e3d-4094-ad97e593a70c75d6}"),
704
+ 15,
705
+ "Device_DriverLogoLevel",
706
+ (kinds.UINT32,),
707
+ )
708
+
709
+ NO_CONNECT_SOUND = PnpPropertyKey.register_new(
710
+ UUID("{a8b865dd-2e3d-4094-ad97e593a70c75d6}"),
711
+ 17,
712
+ "Device_NoConnectSound",
713
+ (kinds.BOOLEAN,),
714
+ )
715
+
716
+ GENERIC_DRIVER_INSTALLED = PnpPropertyKey.register_new(
717
+ UUID("{a8b865dd-2e3d-4094-ad97e593a70c75d6}"),
718
+ 18,
719
+ "Device_GenericDriverInstalled",
720
+ (kinds.BOOLEAN,),
721
+ )
722
+
723
+ ADDITIONAL_SOFTWARE_REQUESTED = PnpPropertyKey.register_new(
724
+ UUID("{a8b865dd-2e3d-4094-ad97e593a70c75d6}"),
725
+ 19,
726
+ "Device_AdditionalSoftwareRequested",
727
+ (kinds.BOOLEAN,),
728
+ )
729
+
730
+ SAFE_REMOVAL_REQUIRED = PnpPropertyKey.register_new(
731
+ UUID("{afd97640-86a3-4210-b67c289c41aabe55}"),
732
+ 2,
733
+ "Device_SafeRemovalRequired",
734
+ (kinds.BOOLEAN,),
735
+ )
736
+
737
+ SAFE_REMOVAL_REQUIRED_OVERRIDE = PnpPropertyKey.register_new(
738
+ UUID("{afd97640-86a3-4210-b67c289c41aabe55}"),
739
+ 3,
740
+ "Device_SafeRemovalRequiredOverride",
741
+ (kinds.BOOLEAN,),
742
+ )