-#define _GET_TAG_ID(_Pointer) \\r
- (((UDF_DESCRIPTOR_TAG *)(_Pointer))->TagIdentifier)\r
-\r
-#define IS_AVDP(_Pointer) \\r
- ((BOOLEAN)(_GET_TAG_ID (_Pointer) == 2))\r
+typedef enum {\r
+ UdfPrimaryVolumeDescriptor = 1,\r
+ UdfAnchorVolumeDescriptorPointer = 2,\r
+ UdfVolumeDescriptorPointer = 3,\r
+ UdfImplemenationUseVolumeDescriptor = 4,\r
+ UdfPartitionDescriptor = 5,\r
+ UdfLogicalVolumeDescriptor = 6,\r
+ UdfUnallocatedSpaceDescriptor = 7,\r
+ UdfTerminatingDescriptor = 8,\r
+ UdfLogicalVolumeIntegrityDescriptor = 9,\r
+ UdfFileSetDescriptor = 256,\r
+ UdfFileIdentifierDescriptor = 257,\r
+ UdfAllocationExtentDescriptor = 258,\r
+ UdfFileEntry = 261,\r
+ UdfExtendedFileEntry = 266,\r
+} UDF_VOLUME_DESCRIPTOR_ID;\r