// ntddcdvd.h
typedef struct _DVD_LAYER_DESCRIPTOR {
UCHAR BookVersion : 4;
UCHAR BookType : 4;
UCHAR MinimumRate : 4;
UCHAR DiskSize : 4;
UCHAR LayerType : 4;
UCHAR TrackPath : 1;
UCHAR NumberOfLayers : 2;
UCHAR Reserved1 : 1;
UCHAR TrackDensity : 4;
UCHAR LinearDensity : 4;
ULONG StartingDataSector;
ULONG EndDataSector;
ULONG EndLayerZeroSector;
UCHAR Reserved5 : 7;
UCHAR BCAFlag : 1;
} DVD_LAYER_DESCRIPTOR, *PDVD_LAYER_DESCRIPTOR;
View the official Windows Driver Kit DDI referenceNo description available.
The DVD_LAYER_DESCRIPTOR structure is used in conjunction with the IOCTL_DVD_READ_STRUCTURE request to retrieve a DVD layer descriptor.
BookVersionSpecifies the version of the specified book that this media complies with.
BookTypeSpecifies the DVD book this media complies with. This member can have one of the following values:
| Value | Meaning |
|---|---|
| 0 | DVD-ROM |
| 1 | DVD-RAM |
| 2 | DVD-R |
| 3 | DVD-RW |
| 9 | DVD+RW |
MinimumRateSpecifies the read rate to use for the media. This member can have one of the following values:
| Value | Meaning |
|---|---|
| 0 | DVD-ROM |
| 1 | DVD-RAM |
| 2 | DVD-R |
| 3 | DVD-RW |
| 9 | DVD+RW |
DiskSizeSpecifies the physical size of the media. A value of zero indicates 120 mm. A value of 1 indicates a size of 80 mm.
LayerTypeIndicates the type of layer. This member can have one of the following values:
| Value | Meaning |
|---|---|
| 1 | Read-only layer |
| 2 | Recordable layer |
| 4 | Rewritable layer |
TrackPathSpecifies the direction of the layers when more than one layer is used. If the TrackPath member is zero, this media uses a parallel track path (PTP). With PTP, each layer is independent and has its own lead-in and lead-out areas. If TrackPath is 1, the media uses opposite track path (OTP). With opposite track path, the two layers are united, and there is only one lead-in and lead-out area. For further details, see the SCSI Multimedia Commands - 3 (MMC-3) specification.
NumberOfLayersSpecifies the number of layers present on the side of the media being read. A value of zero indicates that the media has one layer. A value of 1 indicates that the media has two layers.
Reserved1Reserved.
TrackDensityIndicates the track width used for this media in units of micrometers per track. This member can have one of the following values:
| Value | Meaning |
|---|---|
| 0 | 0.74 m/track |
| 1 | 0.80 m/track |
| 2 | 0.615 m/track |
LinearDensityIndicates the minimum/maximum pit length used for this layer in units of micrometers per bit. This member can have one of the following values:
| Value | Meaning |
|---|---|
| 0 | 0.267 m/bit |
| 1 | 0.293 m/bit |
| 2 | 0.409 to 0.435 m/bit |
| 4 | 0.280 to 0.291 m/bit |
| 8 | 0.353 m/bit |
StartingDataSectorSpecifies the first block that contains user data. This member can have one of the following values:
| Value | Meaning |
|---|---|
| 0x30000 | An initial block value of 0x30000 indicates that the media type is DVD-ROM or DVD-R/-RW |
| 0x31000 | An initial block value of 0x30000 indicates that the media type is DVD-RAM or DVD+RW |
EndDataSectorSpecifies the last sector of the user data in the last layer of the media.
EndLayerZeroSectorSpecifies the last sector of the user data in layer zero. If this media does not use the opposite track path method and contains multiple layers, this value is set to zero.
Reserved5Reserved.
BCAFlagIndicates, if set to 1, the presence of data in the burst cutting area (BCA). If set to zero, it indicates that there is no BCA data.
For more information, see the SCSI Multimedia Commands - 3 (MMC-3) specification.