-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPortableDeviceDefs.pas
4097 lines (3866 loc) · 217 KB
/
PortableDeviceDefs.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{ Defintions of types and constants for Windows Portable Device
=============================================================
Converted from the Windows 7 C++ header file PortableDevice.h
© Dr. J. Rathlev, D-24222 Schwentinental (kontakt(a)rathlev-home.de)
The contents of this file may be used under the terms of the
Mozilla Public License ("MPL") or
GNU Lesser General Public License Version 2 or later (the "LGPL")
Software distributed under this License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
the specific language governing rights and limitations under the License.
April 2022
}
unit PortableDeviceDefs;
interface
uses Winapi.Windows, Winapi.ActiveX;
const
// ****************************************************************************
// * This section declares WPD guids used in PnP
// ****************************************************************************
// GUID_DEVINTERFACE_WPD
// This GUID is used to identify devices / drivers that support the WPD DDI.
// The WPD Class Extension component enables this device interface for WPD Drivers that use it. Clients use this PnP interface when registering for PnP device arrival messages for WPD devices.
GUID_DEVINTERFACE_WPD = '{6AC27878-A6FA-4155-BA85-F98F491D4F33}';
// GUID_DEVINTERFACE_WPD_PRIVATE
// This GUID is used to identify devices / drivers that can be used only by a specialized WPD client and will not show up in normal WPD enumeration.
// Devices identified with this interface cannot be used with normal WPD applications. Generic WPD drivers and clients should not use this interface.
GUID_DEVINTERFACE_WPD_PRIVATE = '{BA0C718F-4DED-49B7-BDD3-FABE28661211}';
// GUID_DEVINTERFACE_WPD_SERVICE
// This GUID is used to identify services that support the WPD Services DDI.
// The WPD Class Extension component enables this device interface for WPD Services that use it. Clients use this PnP interface when registering for PnP device arrival messages for ALL WPD services. To register for specific categories of services, client should use the service category or service implements GUID.
GUID_DEVINTERFACE_WPD_SERVICE = '{9EF44F80-3D64-4246-A6AA-206F328D1EDC}';
// /****************************************************************************
// * This section declares WPD defines
// ****************************************************************************/
// WPD specific function number used to construct WPD I/O control codes. Drivers should not use this define directly.
//
WPD_CONTROL_FUNCTION_GENERIC_MESSAGE = 66; // $42
//
// Defines WPD specific IOCTL number used by drivers to detect WPD requests that may require READ and WRITE access to the device.
//
IOCTL_WPD_MESSAGE_READWRITE_ACCESS = (FILE_DEVICE_WPD shl 16)+(WPD_CONTROL_FUNCTION_GENERIC_MESSAGE shl 2)+METHOD_BUFFERED+((FILE_READ_ACCESS or FILE_WRITE_ACCESS) shl 14);
// Defines WPD specific IOCTL number used by drivers to detect WPD requests that require READ-only access to the device.
//
IOCTL_WPD_MESSAGE_READ_ACCESS = (FILE_DEVICE_WPD shl 16)+(WPD_CONTROL_FUNCTION_GENERIC_MESSAGE shl 2)+METHOD_BUFFERED+((FILE_READ_ACCESS) shl 14);
// Pre-defined ObjectID for the DEVICE object.
//
WPD_DEVICE_OBJECT_ID = 'DEVICE';
// Drivers can use this macro to detect whether the incoming IOCTL is a WPD message or not.
//
function IS_WPD_IOCTL (ControlCode : DWord) : boolean;
const
// Pre-defined IWMDMDevice for the IWMDRMDeviceApp license/metering APIs.
//
// WMDRMDEVICEAPP_USE_WPD_DEVICE_PTR = (MaxCardinal- 1);
// Pre-defined name of a REG_DWORD value that defines the device type, used for representation purposes only. Functional characteristics of the device are decided through functional objects.
// This value can be retrieved using IPortableDeviceManager::GetDeviceProperty(...). See WPD_DEVICE_TYPES enumeration for possible values.
PORTABLE_DEVICE_TYPE = 'PortableDeviceType';
// Pre-defined name of a REG_SZ/REG_EXPAND_SZ/REG_MULTI_SZ value that indicates the location of the device icon file or device icon resource.
// This value can be retrieved using IPortableDeviceManager::GetDeviceProperty(...). This REG_SZ/REG_EXPAND_SZ/REG_MULTI_SZ value is either in the form "file.dll, resourceID" or a full file path to an icon file. e.g.: "x:\file.ico"
PORTABLE_DEVICE_ICON = 'Icons';
// Pre-defined name of a REG_DWORD value that indicates the amount of time in milliseconds the WPD Namespace Extension will keep its reference to the device open under idle conditions.
// This value can be retrieved using IPortableDeviceManager::GetDeviceProperty(...).
PORTABLE_DEVICE_NAMESPACE_TIMEOUT = 'PortableDeviceNameSpaceTimeout';
// Pre-defined name of a REG_DWORD value that is used as a flag to indicate whether the device should, or should not, be shown in the Explorer view.
// This value can be retrieved using IPortableDeviceManager::GetDeviceProperty(...). Meaning of values are: 0 = include, 1 = exclude. 0 is assumed if this value doesn't exist.
PORTABLE_DEVICE_NAMESPACE_EXCLUDE_FROM_SHELL= 'PortableDeviceNameSpaceExcludeFromShell';
// Pre-defined name of a REG_SZ or REG_MULTI_SZ value containing content type guids that are used indicate for what content types the portable device namespace should attempt to automatically generate a thumbnail when placing new content on the device.
// This value can be retrieved using IPortableDeviceManager::GetDeviceProperty(...). Values should be a string representation of a GUID, in the form '{00000000-0000-0000-0000-000000000000}'. By default the portable device namespace attempts to automatically generate thumbnails for WPD_CONTENT_TYPE_IMAGE, if a device does not want this behavior it can set this value to an empty string.
PORTABLE_DEVICE_NAMESPACE_THUMBNAIL_CONTENT_TYPES= 'PortableDeviceNameSpaceThumbnailContentTypes';
// Pre-defined name of a REG_DWORD value that indicates whether a Portable Device is a Mass Storage Class (MSC) device. This is used to avoid duplication of the device in certain views and scenarios that include both file system and Portable Devices.
// This value can be retrieved using IPortableDeviceManager::GetDeviceProperty(...). Meaning of values are: 0 = device is not mass storage, 1 = device is mass storage. 0 is assumed if this value doesn't exist.
PORTABLE_DEVICE_IS_MASS_STORAGE = 'PortableDeviceIsMassStorage';
// Pre-defined value identifying the "Windows Media Digital Rights Management 10 for Portable Devices" scheme for protecting content.
// This value can be used by drivers to indicate they support WMDRM10-PD. See WPD_DEVICE_SUPPORTED_DRM_SCHEMES.
PORTABLE_DEVICE_DRM_SCHEME_WMDRM10_PD= 'WMDRM10-PD';
// Pre-defined value identifying the "Portable Device Digital Rights Management" scheme for protecting content.
// This value can be used by drivers to indicate they support PDDRM. See WPD_DEVICE_SUPPORTED_DRM_SCHEMES.
PORTABLE_DEVICE_DRM_SCHEME_PDDRM = 'PDDRM';
/// ****************************************************************************
// * This section defines flags used in API arguments
// ****************************************************************************/
// Indicates whether the delete request should recursively delete any children.
type
tagDELETE_OBJECT_OPTIONS = TOleEnum;
const
PORTABLE_DEVICE_DELETE_NO_RECURSION = 0;
PORTABLE_DEVICE_DELETE_WITH_RECURSION = 1;
// Possible values for PORTABLE_DEVICE_TYPE registry value.
type
tagWPD_DEVICE_TYPES = TOleEnum;
const
WPD_DEVICE_TYPE_GENERIC = 0;
WPD_DEVICE_TYPE_CAMERA = 1;
WPD_DEVICE_TYPE_MEDIA_PLAYER = 2;
WPD_DEVICE_TYPE_PHONE = 3;
WPD_DEVICE_TYPE_VIDEO = 4;
WPD_DEVICE_TYPE_PERSONAL_INFORMATION_MANAGER = 5;
WPD_DEVICE_TYPE_AUDIO_RECORDER = 6;
// Possible values for WPD_PROPERTY_ATTRIBUTE_FORM
type
tagWpdAttributeForm = TOleEnum;
const
WPD_PROPERTY_ATTRIBUTE_FORM_UNSPECIFIED = 0;
WPD_PROPERTY_ATTRIBUTE_FORM_RANGE = 1;
WPD_PROPERTY_ATTRIBUTE_FORM_ENUMERATION = 2;
WPD_PROPERTY_ATTRIBUTE_FORM_REGULAR_EXPRESSION = 3;
WPD_PROPERTY_ATTRIBUTE_FORM_OBJECT_IDENTIFIER = 4;
// Possible values for WPD_PARAMETER_ATTRIBUTE_FORM
type
tagWpdParameterAttributeForm = TOleEnum;
const
WPD_PARAMETER_ATTRIBUTE_FORM_UNSPECIFIED = 0;
WPD_PARAMETER_ATTRIBUTE_FORM_RANGE = 1;
WPD_PARAMETER_ATTRIBUTE_FORM_ENUMERATION = 2;
WPD_PARAMETER_ATTRIBUTE_FORM_REGULAR_EXPRESSION = 3;
WPD_PARAMETER_ATTRIBUTE_FORM_OBJECT_IDENTIFIER = 4;
// Possible values for WPD_DEVICE_TRANSPORT property.
type
tagWPD_DEVICE_TRANSPORTS = TOleEnum;
const
WPD_DEVICE_TRANSPORT_UNSPECIFIED = 0;
WPD_DEVICE_TRANSPORT_USB = 1;
WPD_DEVICE_TRANSPORT_IP = 2;
WPD_DEVICE_TRANSPORT_BLUETOOTH = 3;
// Indicates the type of storage.
type
tagWPD_STORAGE_TYPE_VALUES = TOleEnum;
const
WPD_STORAGE_TYPE_UNDEFINED = 0;
WPD_STORAGE_TYPE_FIXED_ROM = 1;
WPD_STORAGE_TYPE_REMOVABLE_ROM = 2;
WPD_STORAGE_TYPE_FIXED_RAM = 3;
WPD_STORAGE_TYPE_REMOVABLE_RAM = 4;
// Indicates write-protection that globally affects the storage.
type
tagWPD_STORAGE_ACCESS_CAPABILITY_VALUES = TOleEnum;
const
WPD_STORAGE_ACCESS_CAPABILITY_READWRITE = 0;
WPD_STORAGE_ACCESS_CAPABILITY_READ_ONLY_WITHOUT_OBJECT_DELETION = 1;
WPD_STORAGE_ACCESS_CAPABILITY_READ_ONLY_WITH_OBJECT_DELETION = 2;
// Possible values for WPD_SMS_ENCODING
type
tagWPD_SMS_ENCODING_TYPES = TOleEnum;
const
SMS_ENCODING_7_BIT = 0;
SMS_ENCODING_8_BIT = 1;
SMS_ENCODING_UTF_16 = 2;
// Possible values for WPD_PROPERTY_SMS_MESSAGE_TYPE
type
tagSMS_MESSAGE_TYPES = TOleEnum;
const
SMS_TEXT_MESSAGE = 0;
SMS_BINARY_MESSAGE = 1;
// Indicates whether the device is on battery power or external power.
type
tagWPD_POWER_SOURCES = TOleEnum;
const
WPD_POWER_SOURCE_BATTERY = 0;
WPD_POWER_SOURCE_EXTERNAL = 1;
// Indicates the way the device weighs color channels.
type
tagWPD_WHITE_BALANCE_SETTINGS = TOleEnum;
const
WPD_WHITE_BALANCE_UNDEFINED = 0;
WPD_WHITE_BALANCE_MANUAL = 1;
WPD_WHITE_BALANCE_AUTOMATIC = 2;
WPD_WHITE_BALANCE_ONE_PUSH_AUTOMATIC = 3;
WPD_WHITE_BALANCE_DAYLIGHT = 4;
WPD_WHITE_BALANCE_FLORESCENT = 5;
WPD_WHITE_BALANCE_TUNGSTEN = 6;
WPD_WHITE_BALANCE_FLASH = 7;
// Indicates the focus mode of the device.
type
tagWPD_FOCUS_MODES = TOleEnum;
const
WPD_FOCUS_UNDEFINED = 0;
WPD_FOCUS_MANUAL = 1;
WPD_FOCUS_AUTOMATIC = 2;
WPD_FOCUS_AUTOMATIC_MACRO = 3;
// Indicates the metering mode of the device.
type
tagWPD_EXPOSURE_METERING_MODES = TOleEnum;
const
WPD_EXPOSURE_METERING_MODE_UNDEFINED = 0;
WPD_EXPOSURE_METERING_MODE_AVERAGE = 1;
WPD_EXPOSURE_METERING_MODE_CENTER_WEIGHTED_AVERAGE = 2;
WPD_EXPOSURE_METERING_MODE_MULTI_SPOT = 3;
WPD_EXPOSURE_METERING_MODE_CENTER_SPOT = 4;
// Indicates the flash mode of the device.
type
tagWPD_FLASH_MODES = TOleEnum;
const
WPD_FLASH_MODE_UNDEFINED = 0;
WPD_FLASH_MODE_AUTO = 1;
WPD_FLASH_MODE_OFF = 2;
WPD_FLASH_MODE_FILL = 3;
WPD_FLASH_MODE_RED_EYE_AUTO = 4;
WPD_FLASH_MODE_RED_EYE_FILL = 5;
WPD_FLASH_MODE_EXTERNAL_SYNC = 6;
// Indicates the exposure program mode of the device.
type
tagWPD_EXPOSURE_PROGRAM_MODES = TOleEnum;
const
WPD_EXPOSURE_PROGRAM_MODE_UNDEFINED = 0;
WPD_EXPOSURE_PROGRAM_MODE_MANUAL = 1;
WPD_EXPOSURE_PROGRAM_MODE_AUTO = 2;
WPD_EXPOSURE_PROGRAM_MODE_APERTURE_PRIORITY = 3;
WPD_EXPOSURE_PROGRAM_MODE_SHUTTER_PRIORITY = 4;
WPD_EXPOSURE_PROGRAM_MODE_CREATIVE = 5;
WPD_EXPOSURE_PROGRAM_MODE_ACTION = 6;
WPD_EXPOSURE_PROGRAM_MODE_PORTRAIT = 7;
// Indicates the capture mode of the device.
type
tagWPD_CAPTURE_MODES = TOleEnum;
const
WPD_CAPTURE_MODE_UNDEFINED = 0;
WPD_CAPTURE_MODE_NORMAL = 1;
WPD_CAPTURE_MODE_BURST = 2;
WPD_CAPTURE_MODE_TIMELAPSE = 3;
// Indicates the effect mode of the capture device.
type
tagWPD_EFFECT_MODES = TOleEnum;
const
WPD_EFFECT_MODE_UNDEFINED = 0;
WPD_EFFECT_MODE_COLOR = 1;
WPD_EFFECT_MODE_BLACK_AND_WHITE = 2;
WPD_EFFECT_MODE_SEPIA = 3;
// Indicates the metering mode of the capture device.
type
tagWPD_FOCUS_METERING_MODES = TOleEnum;
const
WPD_FOCUS_METERING_MODE_UNDEFINED = 0;
WPD_FOCUS_METERING_MODE_CENTER_SPOT = 1;
WPD_FOCUS_METERING_MODE_MULTI_SPOT = 2;
// Indicates the type of bitrate for the audio/video data.
type
tagWPD_BITRATE_TYPES = TOleEnum;
const
WPD_BITRATE_TYPE_UNUSED = 0;
WPD_BITRATE_TYPE_DISCRETE = 1;
WPD_BITRATE_TYPE_VARIABLE = 2;
WPD_BITRATE_TYPE_FREE = 3;
// Qualifies the object data in a contextual way.
type
tagWPD_META_GENRES = TOleEnum;
const
WPD_META_GENRE_UNUSED = 0;
WPD_META_GENRE_GENERIC_MUSIC_AUDIO_FILE = $1;
WPD_META_GENRE_GENERIC_NON_MUSIC_AUDIO_FILE = $11;
WPD_META_GENRE_SPOKEN_WORD_AUDIO_BOOK_FILES = $12;
WPD_META_GENRE_SPOKEN_WORD_FILES_NON_AUDIO_BOOK = $13;
WPD_META_GENRE_SPOKEN_WORD_NEWS = $14;
WPD_META_GENRE_SPOKEN_WORD_TALK_SHOWS = $15;
WPD_META_GENRE_GENERIC_VIDEO_FILE = $21;
WPD_META_GENRE_NEWS_VIDEO_FILE = $22;
WPD_META_GENRE_MUSIC_VIDEO_FILE = $23;
WPD_META_GENRE_HOME_VIDEO_FILE = $24;
WPD_META_GENRE_FEATURE_FILM_VIDEO_FILE = $25;
WPD_META_GENRE_TELEVISION_VIDEO_FILE = $26;
WPD_META_GENRE_TRAINING_EDUCATIONAL_VIDEO_FILE = $27;
WPD_META_GENRE_PHOTO_MONTAGE_VIDEO_FILE = $28;
WPD_META_GENRE_GENERIC_NON_AUDIO_NON_VIDEO = $30;
WPD_META_GENRE_AUDIO_PODCAST = $40;
WPD_META_GENRE_VIDEO_PODCAST = $41;
WPD_META_GENRE_MIXED_PODCAST = $42;
// Indicates the cropped status of an image.
type
tagWPD_CROPPED_STATUS_VALUES = TOleEnum;
const
WPD_CROPPED_STATUS_NOT_CROPPED = 0;
WPD_CROPPED_STATUS_CROPPED = 1;
WPD_CROPPED_STATUS_SHOULD_NOT_BE_CROPPED = 2;
// Indicates the color corrected status of an image.
type
tagWPD_COLOR_CORRECTED_STATUS_VALUES = TOleEnum;
const
WPD_COLOR_CORRECTED_STATUS_NOT_CORRECTED = 0;
WPD_COLOR_CORRECTED_STATUS_CORRECTED = 1;
WPD_COLOR_CORRECTED_STATUS_SHOULD_NOT_BE_CORRECTED = 2;
// Identifies the video scan-type information.
type
tagWPD_VIDEO_SCAN_TYPES = TOleEnum;
const
WPD_VIDEO_SCAN_TYPE_UNUSED = 0;
WPD_VIDEO_SCAN_TYPE_PROGRESSIVE = 1;
WPD_VIDEO_SCAN_TYPE_FIELD_INTERLEAVED_UPPER_FIRST = 2;
WPD_VIDEO_SCAN_TYPE_FIELD_INTERLEAVED_LOWER_FIRST = 3;
WPD_VIDEO_SCAN_TYPE_FIELD_SINGLE_UPPER_FIRST = 4;
WPD_VIDEO_SCAN_TYPE_FIELD_SINGLE_LOWER_FIRST = 5;
WPD_VIDEO_SCAN_TYPE_MIXED_INTERLACE = 6;
WPD_VIDEO_SCAN_TYPE_MIXED_INTERLACE_AND_PROGRESSIVE = 7;
// Indicates the current state of the operation in progress.
type
tagWPD_OPERATION_STATES = TOleEnum;
const
WPD_OPERATION_STATE_UNSPECIFIED = 0;
WPD_OPERATION_STATE_STARTED = 1;
WPD_OPERATION_STATE_RUNNING = 2;
WPD_OPERATION_STATE_PAUSED = 3;
WPD_OPERATION_STATE_CANCELLED = 4;
WPD_OPERATION_STATE_FINISHED = 5;
WPD_OPERATION_STATE_ABORTED = 6;
// Indicates the units for a referenced section of data.
type
tagWPD_SECTION_DATA_UNITS_VALUES = TOleEnum;
const
WPD_SECTION_DATA_UNITS_BYTES = 0;
WPD_SECTION_DATA_UNITS_MILLISECONDS = 1;
// Indicates whether the rendering information profile entry corresponds to an Object or a Resource.
type
tagWPD_RENDERING_INFORMATION_PROFILE_ENTRY_TYPES = TOleEnum;
const
WPD_RENDERING_INFORMATION_PROFILE_ENTRY_TYPE_OBJECT = 0;
WPD_RENDERING_INFORMATION_PROFILE_ENTRY_TYPE_RESOURCE = 1;
// Indicates the type of access the command requires. This is only used internally by the command access lookup table. There is no need to use these values directly.
type
tagWPD_COMMAND_ACCESS_TYPES = TOleEnum;
const
WPD_COMMAND_ACCESS_READ = 1;
WPD_COMMAND_ACCESS_READWRITE = 3;
WPD_COMMAND_ACCESS_FROM_PROPERTY_WITH_STGM_ACCESS = 4;
WPD_COMMAND_ACCESS_FROM_PROPERTY_WITH_FILE_ACCESS = 8;
WPD_COMMAND_ACCESS_FROM_ATTRIBUTE_WITH_METHOD_ACCESS = 16;
// Indicates the inheritance relationship to query for this service.
type
tagWPD_SERVICE_INHERITANCE_TYPES = TOleEnum;
const
WPD_SERVICE_INHERITANCE_IMPLEMENTATION = 0;
// Indicates the usage of a parameter.
type
tagWPD_PARAMETER_USAGE_TYPES = TOleEnum;
const
WPD_PARAMETER_USAGE_RETURN = 0;
WPD_PARAMETER_USAGE_IN = 1;
WPD_PARAMETER_USAGE_OUT = 2;
WPD_PARAMETER_USAGE_INOUT = 3;
const
// /****************************************************************************
// * This section declares WPD specific Errors
// ****************************************************************************/
FACILITY_WPD=42;
E_WPD_DEVICE_ALREADY_OPENED = (SEVERITY_ERROR shl 31)+(FACILITY_WPD shl 16)+1;
E_WPD_DEVICE_NOT_OPEN = (SEVERITY_ERROR shl 31)+(FACILITY_WPD shl 16)+2;
E_WPD_OBJECT_ALREADY_ATTACHED_TO_DEVICE = (SEVERITY_ERROR shl 31)+(FACILITY_WPD shl 16)+3;
E_WPD_OBJECT_NOT_ATTACHED_TO_DEVICE = (SEVERITY_ERROR shl 31)+(FACILITY_WPD shl 16)+4;
E_WPD_OBJECT_NOT_COMMITED = (SEVERITY_ERROR shl 31)+(FACILITY_WPD shl 16)+5;
E_WPD_DEVICE_IS_HUNG = (SEVERITY_ERROR shl 31)+(FACILITY_WPD shl 16)+6;
E_WPD_SMS_INVALID_MESSAGE_BODY = (SEVERITY_ERROR shl 31)+(FACILITY_WPD shl 16)+100;
E_WPD_SMS_SERVICE_UNAVAILABLE = (SEVERITY_ERROR shl 31)+(FACILITY_WPD shl 16)+101;
E_WPD_SERVICE_ALREADY_OPENED = (SEVERITY_ERROR shl 31)+(FACILITY_WPD shl 16)+102;
E_WPD_SERVICE_NOT_OPEN = (SEVERITY_ERROR shl 31)+(FACILITY_WPD shl 16)+201;
E_WPD_OBJECT_ALREADY_ATTACHED_TO_SERVICE = (SEVERITY_ERROR shl 31)+(FACILITY_WPD shl 16)+202;
E_WPD_OBJECT_NOT_ATTACHED_TO_SERVICE = (SEVERITY_ERROR shl 31)+(FACILITY_WPD shl 16)+203;
E_WPD_SERVICE_BAD_PARAMETER_ORDER = (SEVERITY_ERROR shl 31)+(FACILITY_WPD shl 16)+204;
// /****************************************************************************
// * This section defines all WPD Events
// ****************************************************************************/
//
// WPD_EVENT_NOTIFICATION
// This GUID is used to identify all WPD driver events to the event sub-system. The driver uses this as the GUID identifier when it queues an event with IWdfDevice::PostEvent(). Applications never use this value.
WPD_EVENT_NOTIFICATION: TGuid = '{2BA2E40A-6B4C-4295-BB43-26322B99AEB2}';
//
// WPD_EVENT_OBJECT_ADDED
// This event is sent after a new object is available on the device.
WPD_EVENT_OBJECT_ADDED: TGuid = '{A726DA95-E207-4B02-8D44-BEF2E86CBFFC}';
//
// WPD_EVENT_OBJECT_REMOVED
// This event is sent after a previously existing object has been removed from the device.
WPD_EVENT_OBJECT_REMOVED: TGuid = '{BE82AB88-A52C-4823-96E5-D0272671FC38}';
//
// WPD_EVENT_OBJECT_UPDATED
// This event is sent after an object has been updated such that any connected client should refresh its view of that object.
WPD_EVENT_OBJECT_UPDATED: TGuid = '{1445A759-2E01-485D-9F27-FF07DAE697AB}';
//
// WPD_EVENT_DEVICE_RESET
// This event indicates that the device is about to be reset, and all connected clients should close their connection to the device.
WPD_EVENT_DEVICE_RESET: TGuid = '{7755CF53-C1ED-44F3-B5A2-451E2C376B27}';
//
// WPD_EVENT_DEVICE_CAPABILITIES_UPDATED
// This event indicates that the device capabilities have changed. Clients should re-query the device if they have made any decisions based on device capabilities.
WPD_EVENT_DEVICE_CAPABILITIES_UPDATED: TGuid = '{36885AA1-CD54-4DAA-B3D0-AFB3E03F5999}';
//
// WPD_EVENT_STORAGE_FORMAT
// This event indicates the progress of a format operation on a storage object.
WPD_EVENT_STORAGE_FORMAT: TGuid = '{3782616B-22BC-4474-A251-3070F8D38857}';
//
// WPD_EVENT_OBJECT_TRANSFER_REQUESTED
// This event is sent to request an application to transfer a particular object from the device.
WPD_EVENT_OBJECT_TRANSFER_REQUESTED: TGuid = '{8D16A0A1-F2C6-41DA-8F19-5E53721ADBF2}';
//
// WPD_EVENT_DEVICE_REMOVED
// This event is sent when a driver for a device is being unloaded. This is typically a result of the device being unplugged.
WPD_EVENT_DEVICE_REMOVED: TGuid = '{E4CBCA1B-6918-48B9-85EE-02BE7C850AF9}';
//
// WPD_EVENT_SERVICE_METHOD_COMPLETE
// This event is sent when a driver has completed invoking a service method. This event must be sent even when the method fails.
WPD_EVENT_SERVICE_METHOD_COMPLETE: TGuid = '{8A33F5F8-0ACC-4D9B-9CC4-112D353B86CA}';
// /****************************************************************************
// * This section defines all WPD content types
// ****************************************************************************/
// WPD_CONTENT_TYPE_FUNCTIONAL_OBJECT
// Indicates this object represents a functional object, not content data on the device.
WPD_CONTENT_TYPE_FUNCTIONAL_OBJECT: TGuid = '{99ED0160-17FF-4C44-9D98-1D7A6F941921}';
//
// WPD_CONTENT_TYPE_FOLDER
// Indicates this object is a folder.
WPD_CONTENT_TYPE_FOLDER: TGuid = '{27E2E392-A111-48E0-AB0C-E17705A05F85}';
//
// WPD_CONTENT_TYPE_IMAGE
// Indicates this object represents image data (e.g. a JPEG file)
WPD_CONTENT_TYPE_IMAGE: TGuid = '{EF2107D5-A52A-4243-A26B-62D4176D7603}';
//
// WPD_CONTENT_TYPE_DOCUMENT
// Indicates this object represents document data (e.g. a MS WORD file, TEXT file, etc.)
WPD_CONTENT_TYPE_DOCUMENT: TGuid = '{680ADF52-950A-4041-9B41-65E393648155}';
//
// WPD_CONTENT_TYPE_CONTACT
// Indicates this object represents contact data (e.g. name/number, or a VCARD file)
WPD_CONTENT_TYPE_CONTACT: TGuid = '{EABA8313-4525-4707-9F0E-87C6808E9435}';
//
// WPD_CONTENT_TYPE_CONTACT_GROUP
// Indicates this object represents a group of contacts.
WPD_CONTENT_TYPE_CONTACT_GROUP: TGuid = '{346B8932-4C36-40D8-9415-1828291F9DE9}';
//
// WPD_CONTENT_TYPE_AUDIO
// Indicates this object represents audio data (e.g. a WMA or MP3 file)
WPD_CONTENT_TYPE_AUDIO: TGuid = '{4AD2C85E-5E2D-45E5-8864-4F229E3C6CF0}';
//
// WPD_CONTENT_TYPE_VIDEO
// Indicates this object represents video data (e.g. a WMV or AVI file)
WPD_CONTENT_TYPE_VIDEO: TGuid = '{9261B03C-3D78-4519-85E3-02C5E1F50BB9}';
//
// WPD_CONTENT_TYPE_TELEVISION
// Indicates this object represents a television recording.
WPD_CONTENT_TYPE_TELEVISION: TGuid = '{60A169CF-F2AE-4E21-9375-9677F11C1C6E}';
//
// WPD_CONTENT_TYPE_PLAYLIST
// Indicates this object represents a playlist.
WPD_CONTENT_TYPE_PLAYLIST: TGuid = '{1A33F7E4-AF13-48F5-994E-77369DFE04A3}';
//
// WPD_CONTENT_TYPE_MIXED_CONTENT_ALBUM
// Indicates this object represents an album, which may contain objects of different content types (typically, MUSIC, IMAGE and VIDEO).
WPD_CONTENT_TYPE_MIXED_CONTENT_ALBUM: TGuid = '{00F0C3AC-A593-49AC-9219-24ABCA5A2563}';
//
// WPD_CONTENT_TYPE_AUDIO_ALBUM
// Indicates this object represents an audio album.
WPD_CONTENT_TYPE_AUDIO_ALBUM: TGuid = '{AA18737E-5009-48FA-AE21-85F24383B4E6}';
//
// WPD_CONTENT_TYPE_IMAGE_ALBUM
// Indicates this object represents an image album.
WPD_CONTENT_TYPE_IMAGE_ALBUM: TGuid = '{75793148-15F5-4A30-A813-54ED8A37E226}';
//
// WPD_CONTENT_TYPE_VIDEO_ALBUM
// Indicates this object represents a video album.
WPD_CONTENT_TYPE_VIDEO_ALBUM: TGuid = '{012B0DB7-D4C1-45D6-B081-94B87779614F}';
//
// WPD_CONTENT_TYPE_MEMO
// Indicates this object represents memo data
WPD_CONTENT_TYPE_MEMO: TGuid = '{9CD20ECF-3B50-414F-A641-E473FFE45751}';
//
// WPD_CONTENT_TYPE_EMAIL
// Indicates this object represents e-mail data
WPD_CONTENT_TYPE_EMAIL: TGuid = '{8038044A-7E51-4F8F-883D-1D0623D14533}';
//
// WPD_CONTENT_TYPE_APPOINTMENT
// Indicates this object represents an appointment in a calendar
WPD_CONTENT_TYPE_APPOINTMENT: TGuid = '{0FED060E-8793-4B1E-90C9-48AC389AC631}';
//
// WPD_CONTENT_TYPE_TASK
// Indicates this object represents a task for tracking (e.g. a TODO list)
WPD_CONTENT_TYPE_TASK: TGuid = '{63252F2C-887F-4CB6-B1AC-D29855DCEF6C}';
//
// WPD_CONTENT_TYPE_PROGRAM
// Indicates this object represents a file that can be run. This could be a script, executable and so on.
WPD_CONTENT_TYPE_PROGRAM: TGuid = '{D269F96A-247C-4BFF-98FB-97F3C49220E6}';
//
// WPD_CONTENT_TYPE_GENERIC_FILE
// Indicates this object represents a file that does not fall into any of the other predefined WPD types for files.
WPD_CONTENT_TYPE_GENERIC_FILE: TGuid = '{0085E0A6-8D34-45D7-BC5C-447E59C73D48}';
//
// WPD_CONTENT_TYPE_CALENDAR
// Indicates this object represents a calender
WPD_CONTENT_TYPE_CALENDAR: TGuid = '{A1FD5967-6023-49A0-9DF1-F8060BE751B0}';
//
// WPD_CONTENT_TYPE_GENERIC_MESSAGE
// Indicates this object represents a message (e.g. SMS message, E-Mail message, etc.)
WPD_CONTENT_TYPE_GENERIC_MESSAGE: TGuid = '{E80EAAF8-B2DB-4133-B67E-1BEF4B4A6E5F}';
//
// WPD_CONTENT_TYPE_NETWORK_ASSOCIATION
// Indicates this object represents an association between a host and a device.
WPD_CONTENT_TYPE_NETWORK_ASSOCIATION: TGuid = '{031DA7EE-18C8-4205-847E-89A11261D0F3}';
//
// WPD_CONTENT_TYPE_CERTIFICATE
// Indicates this object represents certificate used for authentication.
WPD_CONTENT_TYPE_CERTIFICATE: TGuid = '{DC3876E8-A948-4060-9050-CBD77E8A3D87}';
//
// WPD_CONTENT_TYPE_WIRELESS_PROFILE
// Indicates this object represents wireless network access information.
WPD_CONTENT_TYPE_WIRELESS_PROFILE: TGuid = '{0BAC070A-9F5F-4DA4-A8F6-3DE44D68FD6C}';
//
// WPD_CONTENT_TYPE_MEDIA_CAST
// Indicates this object represents a media cast. A media cast object can be though of as a container object that groups related content, similar to how a playlist groups songs to play. Often, a media cast object is used to group media content originally published online.
WPD_CONTENT_TYPE_MEDIA_CAST: TGuid = '{5E88B3CC-3E65-4E62-BFFF-229495253AB0}';
//
// WPD_CONTENT_TYPE_SECTION
// Indicates this object describes a section of data contained in another object. The WPD_OBJECT_REFERENCES property indicates which object contains the actual data.
WPD_CONTENT_TYPE_SECTION: TGuid = '{821089F5-1D91-4DC9-BE3C-BBB1B35B18CE}';
//
// WPD_CONTENT_TYPE_UNSPECIFIED
// Indicates this object doesn't fall into the predefined WPD content types
WPD_CONTENT_TYPE_UNSPECIFIED: TGuid = '{28D8D31E-249C-454E-AABC-34883168E634}';
//
// WPD_CONTENT_TYPE_ALL
// This content type is only valid as a parameter to API functions and driver commands. It should not be reported as a supported content type by the driver.
WPD_CONTENT_TYPE_ALL: TGuid = '{80E170D2-1055-4A3E-B952-82CC4F8A8689}';
// /****************************************************************************
// * This section defines all WPD Functional Categories
// ****************************************************************************/
// WPD_FUNCTIONAL_CATEGORY_DEVICE
// Used for the device object, which is always the top-most object of the device.
WPD_FUNCTIONAL_CATEGORY_DEVICE: TGuid = '{08EA466B-E3A4-4336-A1F3-A44D2B5C438C}';
//
// WPD_FUNCTIONAL_CATEGORY_STORAGE
// Indicates this object encapsulates storage functionality on the device (e.g. memory cards, internal memory)
WPD_FUNCTIONAL_CATEGORY_STORAGE: TGuid = '{23F05BBC-15DE-4C2A-A55B-A9AF5CE412EF}';
//
// WPD_FUNCTIONAL_CATEGORY_STILL_IMAGE_CAPTURE
// Indicates this object encapsulates still image capture functionality on the device (e.g. camera or camera attachment)
WPD_FUNCTIONAL_CATEGORY_STILL_IMAGE_CAPTURE: TGuid = '{613CA327-AB93-4900-B4FA-895BB5874B79}';
//
// WPD_FUNCTIONAL_CATEGORY_AUDIO_CAPTURE
// Indicates this object encapsulates audio capture functionality on the device (e.g. voice recorder or other audio recording component)
WPD_FUNCTIONAL_CATEGORY_AUDIO_CAPTURE: TGuid = '{3F2A1919-C7C2-4A00-855D-F57CF06DEBBB}';
//
// WPD_FUNCTIONAL_CATEGORY_VIDEO_CAPTURE
// Indicates this object encapsulates video capture functionality on the device (e.g. video recorder or video recording component)
WPD_FUNCTIONAL_CATEGORY_VIDEO_CAPTURE: TGuid = '{E23E5F6B-7243-43AA-8DF1-0EB3D968A918}';
//
// WPD_FUNCTIONAL_CATEGORY_SMS
// Indicates this object encapsulates SMS sending functionality on the device (not the receiving or saved SMS messages since those are represented as content objects on the device)
WPD_FUNCTIONAL_CATEGORY_SMS: TGuid = '{0044A0B1-C1E9-4AFD-B358-A62C6117C9CF}';
//
// WPD_FUNCTIONAL_CATEGORY_RENDERING_INFORMATION
// Indicates this object provides information about the rendering characteristics of the device.
WPD_FUNCTIONAL_CATEGORY_RENDERING_INFORMATION: TGuid = '{08600BA4-A7BA-4A01-AB0E-0065D0A356D3}';
//
// WPD_FUNCTIONAL_CATEGORY_NETWORK_CONFIGURATION
// Indicates this object encapsulates network configuration functionality on the device (e.g. WiFi Profiles, Partnerships).
WPD_FUNCTIONAL_CATEGORY_NETWORK_CONFIGURATION: TGuid = '{48F4DB72-7C6A-4AB0-9E1A-470E3CDBF26A}';
//
// WPD_FUNCTIONAL_CATEGORY_ALL
// This functional category is only valid as a parameter to API functions and driver commands. It should not be reported as a supported functional category by the driver.
WPD_FUNCTIONAL_CATEGORY_ALL: TGuid = '{2D8A6512-A74C-448E-BA8A-F4AC07C49399}';
///****************************************************************************
//* This section defines all WPD Formats
//****************************************************************************/
const
// WPD_OBJECT_FORMAT_PROPERTIES_ONLY
// This object has no data stream and is completely specified by properties only.
WPD_OBJECT_FORMAT_PROPERTIES_ONLY: TGuid = '{30010000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_UNSPECIFIED
// An undefined object format on the device (e.g. objects that can not be classified by the other defined WPD format codes)
WPD_OBJECT_FORMAT_UNSPECIFIED: TGuid = '{30000000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_SCRIPT
// A device model-specific script
WPD_OBJECT_FORMAT_SCRIPT: TGuid = '{30020000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_EXECUTABLE
// A device model-specific binary executable
WPD_OBJECT_FORMAT_EXECUTABLE: TGuid = '{30030000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_TEXT
// A text file
WPD_OBJECT_FORMAT_TEXT: TGuid = '{30040000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_HTML
// A HyperText Markup Language file (text)
WPD_OBJECT_FORMAT_HTML: TGuid = '{30050000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_DPOF
// A Digital Print Order File (text)
WPD_OBJECT_FORMAT_DPOF: TGuid = '{30060000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_AIFF
// Audio file format
WPD_OBJECT_FORMAT_AIFF: TGuid = '{30070000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_WAVE
// Audio file format
WPD_OBJECT_FORMAT_WAVE: TGuid = '{30080000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_MP3
// Audio file format
WPD_OBJECT_FORMAT_MP3: TGuid = '{30090000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_AVI
// Video file format
WPD_OBJECT_FORMAT_AVI: TGuid = '{300A0000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_MPEG
// Video file format
WPD_OBJECT_FORMAT_MPEG: TGuid = '{300B0000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_ASF
// Video file format (Microsoft Advanced Streaming Format)
WPD_OBJECT_FORMAT_ASF: TGuid = '{300C0000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_EXIF
// Image file format (Exchangeable File Format), JEIDA standard
WPD_OBJECT_FORMAT_EXIF: TGuid = '{38010000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_TIFFEP
// Image file format (Tag Image File Format for Electronic Photography)
WPD_OBJECT_FORMAT_TIFFEP: TGuid = '{38020000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_FLASHPIX
// Image file format (Structured Storage Image Format)
WPD_OBJECT_FORMAT_FLASHPIX: TGuid = '{38030000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_BMP
// Image file format (Microsoft Windows Bitmap file)
WPD_OBJECT_FORMAT_BMP: TGuid = '{38040000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_CIFF
// Image file format (Canon Camera Image File Format)
WPD_OBJECT_FORMAT_CIFF: TGuid = '{38050000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_GIF
// Image file format (Graphics Interchange Format)
WPD_OBJECT_FORMAT_GIF: TGuid = '{38070000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_JFIF
// Image file format (JPEG Interchange Format)
WPD_OBJECT_FORMAT_JFIF: TGuid = '{38080000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_PCD
// Image file format (PhotoCD Image Pac)
WPD_OBJECT_FORMAT_PCD: TGuid = '{38090000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_PICT
// Image file format (Quickdraw Image Format)
WPD_OBJECT_FORMAT_PICT: TGuid = '{380A0000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_PNG
// Image file format (Portable Network Graphics)
WPD_OBJECT_FORMAT_PNG: TGuid = '{380B0000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_TIFF
// Image file format (Tag Image File Format)
WPD_OBJECT_FORMAT_TIFF: TGuid = '{380D0000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_TIFFIT
// Image file format (Tag Image File Format for Informational Technology) Graphic Arts
WPD_OBJECT_FORMAT_TIFFIT: TGuid = '{380E0000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_JP2
// Image file format (JPEG2000 Baseline File Format)
WPD_OBJECT_FORMAT_JP2: TGuid = '{380F0000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_JPX
// Image file format (JPEG2000 Extended File Format)
WPD_OBJECT_FORMAT_JPX: TGuid = '{38100000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_WINDOWSIMAGEFORMAT
// Image file format
WPD_OBJECT_FORMAT_WINDOWSIMAGEFORMAT: TGuid = '{B8810000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_WMA
// Audio file format (Windows Media Audio)
WPD_OBJECT_FORMAT_WMA: TGuid = '{B9010000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_WMV
// Video file format (Windows Media Video)
WPD_OBJECT_FORMAT_WMV: TGuid = '{B9810000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_WPLPLAYLIST
// Playlist file format
WPD_OBJECT_FORMAT_WPLPLAYLIST: TGuid = '{BA100000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_M3UPLAYLIST
// Playlist file format
WPD_OBJECT_FORMAT_M3UPLAYLIST: TGuid = '{BA110000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_MPLPLAYLIST
// Playlist file format
WPD_OBJECT_FORMAT_MPLPLAYLIST: TGuid = '{BA120000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_ASXPLAYLIST
// Playlist file format
WPD_OBJECT_FORMAT_ASXPLAYLIST: TGuid = '{BA130000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_PLSPLAYLIST
// Playlist file format
WPD_OBJECT_FORMAT_PLSPLAYLIST: TGuid = '{BA140000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_ABSTRACT_CONTACT_GROUP
// Generic format for contact group objects
WPD_OBJECT_FORMAT_ABSTRACT_CONTACT_GROUP: TGuid = '{BA060000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_ABSTRACT_MEDIA_CAST
// MediaCast file format
WPD_OBJECT_FORMAT_ABSTRACT_MEDIA_CAST: TGuid = '{BA0B0000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_VCALENDAR1
// VCALENDAR file format (VCALENDAR Version 1)
WPD_OBJECT_FORMAT_VCALENDAR1: TGuid = '{BE020000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_ICALENDAR
// ICALENDAR file format (VCALENDAR Version 2)
WPD_OBJECT_FORMAT_ICALENDAR: TGuid = '{BE030000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_ABSTRACT_CONTACT
// Abstract contact file format
WPD_OBJECT_FORMAT_ABSTRACT_CONTACT: TGuid = '{BB810000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_VCARD2
// VCARD file format (VCARD Version 2)
WPD_OBJECT_FORMAT_VCARD2: TGuid = '{BB820000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_VCARD3
// VCARD file format (VCARD Version 3)
WPD_OBJECT_FORMAT_VCARD3: TGuid = '{BB830000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_ICON
// Standard Windows ICON format
WPD_OBJECT_FORMAT_ICON: TGuid = '{077232ED-102C-4638-9C22-83F142BFC822}';
//
// WPD_OBJECT_FORMAT_XML
// XML file format.
WPD_OBJECT_FORMAT_XML: TGuid = '{BA820000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_AAC
// Audio file format
WPD_OBJECT_FORMAT_AAC: TGuid = '{B9030000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_AUDIBLE
// Audio file format
WPD_OBJECT_FORMAT_AUDIBLE: TGuid = '{B9040000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_FLAC
// Audio file format
WPD_OBJECT_FORMAT_FLAC: TGuid = '{B9060000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_OGG
// Audio file format
WPD_OBJECT_FORMAT_OGG: TGuid = '{B9020000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_MP4
// Audio or Video file format
WPD_OBJECT_FORMAT_MP4: TGuid = '{B9820000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_M4A
// Audio file format
WPD_OBJECT_FORMAT_M4A: TGuid = '{30ABA7AC-6FFD-4C23-A359-3E9B52F3F1C8}';
//
// WPD_OBJECT_FORMAT_MP2
// Audio or Video file format
WPD_OBJECT_FORMAT_MP2: TGuid = '{B9830000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_MICROSOFT_WORD
// Microsoft Office Word Document file format.
WPD_OBJECT_FORMAT_MICROSOFT_WORD: TGuid = '{BA830000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_MHT_COMPILED_HTML
// MHT Compiled HTML Document file format.
WPD_OBJECT_FORMAT_MHT_COMPILED_HTML: TGuid = '{BA840000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_MICROSOFT_EXCEL
// Microsoft Office Excel Document file format.
WPD_OBJECT_FORMAT_MICROSOFT_EXCEL: TGuid = '{BA850000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_MICROSOFT_POWERPOINT
// Microsoft Office PowerPoint Document file format.
WPD_OBJECT_FORMAT_MICROSOFT_POWERPOINT: TGuid = '{BA860000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_NETWORK_ASSOCIATION
// Network Association file format.
WPD_OBJECT_FORMAT_NETWORK_ASSOCIATION: TGuid = '{B1020000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_X509V3CERTIFICATE
// X.509 V3 Certificate file format.
WPD_OBJECT_FORMAT_X509V3CERTIFICATE: TGuid = '{B1030000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_MICROSOFT_WFC
// Windows Connect Now file format.
WPD_OBJECT_FORMAT_MICROSOFT_WFC: TGuid = '{B1040000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_3GP
// Audio or Video file format
WPD_OBJECT_FORMAT_3GP: TGuid = '{B9840000-AE6C-4804-98BA-C57B46965FE7}';
//
// WPD_OBJECT_FORMAT_3GPA
// Audio file format
WPD_OBJECT_FORMAT_3GPA: TGuid = '{E5172730-F971-41EF-A10B-2271A0019D7A}';
// #define WPD_OBJECT_FORMAT_VCALENDAR2 WPD_OBJECT_FORMAT_ICALENDAR
// /****************************************************************************
// * This section defines all Commands, Parameters and Options associated with:
// * WPD_OBJECT_PROPERTIES_V1
// *
// * This category is for all common object properties.
// ****************************************************************************/
WPD_OBJECT_PROPERTIES_V1: TGuid = '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}';
// WPD_OBJECT_ID
// [ VT_LPWSTR ] Uniquely identifies object on the Portable Device.
WPD_OBJECT_ID : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 2);
//
// WPD_OBJECT_PARENT_ID
// [ VT_LPWSTR ] Object identifier indicating the parent object.
WPD_OBJECT_PARENT_ID : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 3);
//
// WPD_OBJECT_NAME
// [ VT_LPWSTR ] The display name for this object.
WPD_OBJECT_NAME : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 4);
//
// WPD_OBJECT_PERSISTENT_UNIQUE_ID
// [ VT_LPWSTR ] Uniquely identifies the object on the Portable Device, similar to WPD_OBJECT_ID, but this ID will not change between sessions.
WPD_OBJECT_PERSISTENT_UNIQUE_ID : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 5);
//
// WPD_OBJECT_FORMAT
// [ VT_CLSID ] Indicates the format of the object's data.
WPD_OBJECT_FORMAT : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 6);
//
// WPD_OBJECT_CONTENT_TYPE
// [ VT_CLSID ] The abstract type for the object content, indicating the kinds of properties and data that may be supported on the object.
WPD_OBJECT_CONTENT_TYPE : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 7);
//
// WPD_OBJECT_ISHIDDEN
// [ VT_BOOL ] Indicates whether the object should be hidden.
WPD_OBJECT_ISHIDDEN : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 9);
//
// WPD_OBJECT_ISSYSTEM
// [ VT_BOOL ] Indicates whether the object represents system data.
WPD_OBJECT_ISSYSTEM : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 10);
//
// WPD_OBJECT_SIZE
// [ VT_UI8 ] The size of the object data.
WPD_OBJECT_SIZE : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 11);
//
// WPD_OBJECT_ORIGINAL_FILE_NAME
// [ VT_LPWSTR ] Contains the name of the file this object represents.
WPD_OBJECT_ORIGINAL_FILE_NAME : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 12);
//
// WPD_OBJECT_NON_CONSUMABLE
// [ VT_BOOL ] This property determines whether or not this object is intended to be understood by the device, or whether it has been placed on the device just for storage.
WPD_OBJECT_NON_CONSUMABLE : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 13);
//
// WPD_OBJECT_REFERENCES
// [ VT_UNKNOWN ] IPortableDevicePropVariantCollection of type VT_LPWSTR indicating a list of ObjectIDs.
WPD_OBJECT_REFERENCES : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 14);
//
// WPD_OBJECT_KEYWORDS
// [ VT_LPWSTR ] String containing a list of keywords associated with this object.
WPD_OBJECT_KEYWORDS : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 15);
//
// WPD_OBJECT_SYNC_ID
// [ VT_LPWSTR ] Opaque string set by client to retain state between sessions without retaining a catalogue of connected device content.
WPD_OBJECT_SYNC_ID : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 16);
//
// WPD_OBJECT_IS_DRM_PROTECTED
// [ VT_BOOL ] Indicates whether the media data is DRM protected.
WPD_OBJECT_IS_DRM_PROTECTED : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 17);
//
// WPD_OBJECT_DATE_CREATED
// [ VT_DATE ] Indicates the date and time the object was created on the device.
WPD_OBJECT_DATE_CREATED : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 18);
//
// WPD_OBJECT_DATE_MODIFIED
// [ VT_DATE ] Indicates the date and time the object was modified on the device.
WPD_OBJECT_DATE_MODIFIED : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 19);
//
// WPD_OBJECT_DATE_AUTHORED
// [ VT_DATE ] Indicates the date and time the object was authored (e.g. for music, this would be the date the music was recorded).
WPD_OBJECT_DATE_AUTHORED : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 20);
//
// WPD_OBJECT_BACK_REFERENCES
// [ VT_UNKNOWN ] IPortableDevicePropVariantCollection of type VT_LPWSTR indicating a list of ObjectIDs.
WPD_OBJECT_BACK_REFERENCES : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 21);
//
// WPD_OBJECT_CONTAINER_FUNCTIONAL_OBJECT_ID
// [ VT_LPWSTR ] Indicates the Object ID of the closest functional object ancestor. For example, objects that represent files/folders under a Storage functional object, will have this property set to the object ID of the storage functional object.
WPD_OBJECT_CONTAINER_FUNCTIONAL_OBJECT_ID : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 23);
//
// WPD_OBJECT_GENERATE_THUMBNAIL_FROM_RESOURCE
// [ VT_BOOL ] Indicates whether the thumbnail for this object should be generated from the default resource.
WPD_OBJECT_GENERATE_THUMBNAIL_FROM_RESOURCE : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 24);
//
// WPD_OBJECT_HINT_LOCATION_DISPLAY_NAME
// [ VT_LPWSTR ] If this object appears as a hint location, this property indicates the hint-specific name to display instead of the object name.
WPD_OBJECT_HINT_LOCATION_DISPLAY_NAME : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 25);
//
// WPD_OBJECT_CAN_DELETE
// [ VT_BOOL ] Indicates whether the object can be deleted, or not.
WPD_OBJECT_CAN_DELETE : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 26);
//
// WPD_OBJECT_LANGUAGE_LOCALE
// [ VT_LPWSTR ] Identifies the language of this object. If multiple languages are contained in this object, it should identify the primary language (if any).
WPD_OBJECT_LANGUAGE_LOCALE : TPropertyKey = (fmtid : '{EF6B490D-5CD8-437A-AFFC-DA8B60EE4A3C}'; pid : 27);
// /****************************************************************************
// * This section defines all Commands, Parameters and Options associated with:
// * WPD_FOLDER_OBJECT_PROPERTIES_V1
// *
// * This category is for properties common to all folder objects.
// ****************************************************************************/
WPD_FOLDER_OBJECT_PROPERTIES_V1: TGuid = '{7E9A7ABF-E568-4B34-AA2F-13BB12AB177D}';
// WPD_FOLDER_CONTENT_TYPES_ALLOWED
// [ VT_UNKNOWN ] Indicates the subset of content types that can be created in this folder directly (i.e. children may have different restrictions).
WPD_FOLDER_CONTENT_TYPES_ALLOWED : TPropertyKey = (fmtid : '{7E9A7ABF-E568-4B34-AA2F-13BB12AB177D}'; pid : 2);
// /****************************************************************************
// * This section defines all Commands, Parameters and Options associated with:
// * WPD_IMAGE_OBJECT_PROPERTIES_V1
// *
// * This category is for properties common to all image objects.
// ****************************************************************************/
WPD_IMAGE_OBJECT_PROPERTIES_V1: TGuid = '{63D64908-9FA1-479F-85BA-9952216447DB}';
// WPD_IMAGE_BITDEPTH
// [ VT_UI4 ] Indicates the bitdepth of an image
WPD_IMAGE_BITDEPTH : TPropertyKey = (fmtid : '{63D64908-9FA1-479F-85BA-9952216447DB}'; pid : 3);
//
// WPD_IMAGE_CROPPED_STATUS
// [ VT_UI4 ] Signals whether the file has been cropped.
WPD_IMAGE_CROPPED_STATUS : TPropertyKey = (fmtid : '{63D64908-9FA1-479F-85BA-9952216447DB}'; pid : 4);
//
// WPD_IMAGE_COLOR_CORRECTED_STATUS
// [ VT_UI4 ] Signals whether the file has been color corrected.
WPD_IMAGE_COLOR_CORRECTED_STATUS : TPropertyKey = (fmtid : '{63D64908-9FA1-479F-85BA-9952216447DB}'; pid : 5);
//
// WPD_IMAGE_FNUMBER
// [ VT_UI4 ] Identifies the aperture setting of the lens when this image was captured.
WPD_IMAGE_FNUMBER : TPropertyKey = (fmtid : '{63D64908-9FA1-479F-85BA-9952216447DB}'; pid : 6);
//
// WPD_IMAGE_EXPOSURE_TIME
// [ VT_UI4 ] Identifies the shutter speed of the device when this image was captured.
WPD_IMAGE_EXPOSURE_TIME : TPropertyKey = (fmtid : '{63D64908-9FA1-479F-85BA-9952216447DB}'; pid : 7);