// minitape.h
typedef struct _TRACK_INFORMATION2 {
UCHAR Length[2];
UCHAR TrackNumberLsb;
UCHAR SessionNumberLsb;
UCHAR Reserved4;
UCHAR TrackMode : 4;
UCHAR Copy : 1;
UCHAR Damage : 1;
UCHAR Reserved5 : 2;
UCHAR DataMode : 4;
UCHAR FixedPacket : 1;
UCHAR Packet : 1;
UCHAR Blank : 1;
UCHAR ReservedTrack : 1;
UCHAR NWA_V : 1;
UCHAR LRA_V : 1;
UCHAR Reserved6 : 6;
UCHAR TrackStartAddress[4];
UCHAR NextWritableAddress[4];
UCHAR FreeBlocks[4];
UCHAR FixedPacketSize[4];
UCHAR TrackSize[4];
UCHAR LastRecordedAddress[4];
UCHAR TrackNumberMsb;
UCHAR SessionNumberMsb;
UCHAR Reserved7[2];
} TRACK_INFORMATION2, *PTRACK_INFORMATION2;
View the official Windows Driver Kit DDI reference// scsi.h
typedef struct _TRACK_INFORMATION2 {
UCHAR Length[2];
UCHAR TrackNumberLsb;
UCHAR SessionNumberLsb;
UCHAR Reserved4;
UCHAR TrackMode : 4;
UCHAR Copy : 1;
UCHAR Damage : 1;
UCHAR Reserved5 : 2;
UCHAR DataMode : 4;
UCHAR FixedPacket : 1;
UCHAR Packet : 1;
UCHAR Blank : 1;
UCHAR ReservedTrack : 1;
UCHAR NWA_V : 1;
UCHAR LRA_V : 1;
UCHAR Reserved6 : 6;
UCHAR TrackStartAddress[4];
UCHAR NextWritableAddress[4];
UCHAR FreeBlocks[4];
UCHAR FixedPacketSize[4];
UCHAR TrackSize[4];
UCHAR LastRecordedAddress[4];
UCHAR TrackNumberMsb;
UCHAR SessionNumberMsb;
UCHAR Reserved7[2];
} TRACK_INFORMATION2, *PTRACK_INFORMATION2;
View the official Windows Driver Kit DDI reference// storport.h
typedef struct _TRACK_INFORMATION2 {
UCHAR Length[2];
UCHAR TrackNumberLsb;
UCHAR SessionNumberLsb;
UCHAR Reserved4;
UCHAR TrackMode : 4;
UCHAR Copy : 1;
UCHAR Damage : 1;
UCHAR Reserved5 : 2;
UCHAR DataMode : 4;
UCHAR FixedPacket : 1;
UCHAR Packet : 1;
UCHAR Blank : 1;
UCHAR ReservedTrack : 1;
UCHAR NWA_V : 1;
UCHAR LRA_V : 1;
UCHAR Reserved6 : 6;
UCHAR TrackStartAddress[4];
UCHAR NextWritableAddress[4];
UCHAR FreeBlocks[4];
UCHAR FixedPacketSize[4];
UCHAR TrackSize[4];
UCHAR LastRecordedAddress[4];
UCHAR TrackNumberMsb;
UCHAR SessionNumberMsb;
UCHAR Reserved7[2];
} TRACK_INFORMATION2, *PTRACK_INFORMATION2;
View the official Windows Driver Kit DDI referenceNo description available.
The TRACK_INFORMATION2 structure is used to report track information.
LengthThe length, in bytes, of this structure.
TrackNumberLsbThe least significant byte of the track number.
SessionNumberLsbThe least significant byte of the session number.
Reserved4Reserved.
TrackModeThe track mode. See the SCSI-3 Multi-Media specification for an explanation of meaning of this member.
CopyThe copy bit indicates whether the track is a copy or not. If this bit is 1, the track is a copy. If it is 0, the track is not a copy.
DamageThe damage bit indicates, together with the NWA_V bit, whether a write to the media is complete or not, and what sort of methods the CD-ROM class driver can use to complete the write. See the SCSI-3 Multi-Media specification for an explanation of how to interpret the values in the Damage and NWA_V members.
Reserved5Reserved.
DataModeThe data mode. This member can have any of the following values:
| Value | Meaning |
| 0x1 | The track uses data mode 1 (ISO/IEC 10149) |
| 0x2 | The track uses data mode 2 (ISO/IEC 10149 or CD-ROM XA) |
| 0xf | There is no track descriptor block, and therefore the data block type of the track is unknown. |
FixedPacketThe fixed packet bit indicates, under some circumstances, when set to 1, that write operations to the track must use fixed packets. For a complete explanation of the meaning of this bit, see the SCSI Multimedia Commands - 3 (MMC-3) specification.
PacketThe fixed packet bit indicates, under some circumstances, when set to 1, that write operations to the track must use fixed packets. For a complete explanation of the meaning of this bit, see the SCSI Multimedia Commands - 3 (MMC-3) specification.
BlankThe blank bit, when set to 1, indicates that the track contains no written data and last recorded address field is invalid. For a complete explanation of the meaning of this bit, see the SCSI Multimedia Commands - 3 (MMC-3) specification.
ReservedTrackThe reserved track bit, when 1, indicates that the track is reserved.
NWA_VA boolean value that indicates, when 1, that the value in NextWritableAddress is valid. If 0, the value in NextWritableAddress is invalid.
LRA_VA boolean value that indicates whether the LastRecordedAddress member is valid or not. If LRA_V is 1, the LastRecordedAddress member is valid. If 0, the LastRecordedAddress member is not valid.
Reserved6Reserved.
TrackStartAddressThe starting address of the specified track.
NextWritableAddressThe logical block address of the next writable user block in the track specified by the track number (TrackNumberLsb and TrackNumberMsb).
FreeBlocksThe maximum number of user data blocks that are available for recording in the track.
FixedPacketSizeThe blocking factor. This value The fixed packet size is valid only when the Packet and the FP bits are both set to one.
TrackSizeTrack Size is the number of user data blocks in the track.
LastRecordedAddressTrackNumberMsbThe most significant byte of the track number.
SessionNumberMsbThe most significant byte of the session number.
Reserved7Reserved7
The TRACK_INFORMATION2 structure is used to report track information.
LengthThe length, in bytes, of this structure.
TrackNumberLsbThe least significant byte of the track number.
SessionNumberLsbThe least significant byte of the session number.
Reserved4Reserved.
TrackModeThe track mode. See the SCSI-3 Multi-Media specification for an explanation of meaning of this member.
CopyThe copy bit indicates whether the track is a copy or not. If this bit is 1, the track is a copy. If it is 0, the track is not a copy.
DamageThe damage bit indicates, together with the NWA_V bit, whether a write to the media is complete or not, and what sort of methods the CD-ROM class driver can use to complete the write. See the SCSI-3 Multi-Media specification for an explanation of how to interpret the values in the Damage and NWA_V members.
Reserved5Reserved.
DataModeThe data mode. This member can have any of the following values:
| Value | Meaning |
| 0x1 | The track uses data mode 1 (ISO/IEC 10149) |
| 0x2 | The track uses data mode 2 (ISO/IEC 10149 or CD-ROM XA) |
| 0xf | There is no track descriptor block, and therefore the data block type of the track is unknown. |
FixedPacketThe fixed packet bit indicates, under some circumstances, when set to 1, that write operations to the track must use fixed packets. For a complete explanation of the meaning of this bit, see the SCSI Multimedia Commands - 3 (MMC-3) specification.
PacketThe fixed packet bit indicates, under some circumstances, when set to 1, that write operations to the track must use fixed packets. For a complete explanation of the meaning of this bit, see the SCSI Multimedia Commands - 3 (MMC-3) specification.
BlankThe blank bit, when set to 1, indicates that the track contains no written data and last recorded address field is invalid. For a complete explanation of the meaning of this bit, see the SCSI Multimedia Commands - 3 (MMC-3) specification.
ReservedTrackThe reserved track bit, when 1, indicates that the track is reserved.
NWA_VA boolean value that indicates, when 1, that the value in NextWritableAddress is valid. If 0, the value in NextWritableAddress is invalid.
LRA_VA boolean value that indicates whether the LastRecordedAddress member is valid or not. If LRA_V is 1, the LastRecordedAddress member is valid. If 0, the LastRecordedAddress member is not valid.
Reserved6Reserved.
TrackStartAddressThe starting address of the specified track.
NextWritableAddressThe logical block address of the next writable user block in the track specified by the track number (TrackNumberLsb and TrackNumberMsb).
FreeBlocksThe maximum number of user data blocks that are available for recording in the track.
FixedPacketSizeThe blocking factor. This value The fixed packet size is valid only when the Packet and the FP bits are both set to one.
TrackSizeTrack Size is the number of user data blocks in the track.
LastRecordedAddressTrackNumberMsbThe most significant byte of the track number.
SessionNumberMsbThe most significant byte of the session number.
Reserved7Reserved7
The TRACK_INFORMATION2 structure is used to report track information.
LengthThe length, in bytes, of this structure.
TrackNumberLsbThe least significant byte of the track number.
SessionNumberLsbThe least significant byte of the session number.
Reserved4Reserved.
TrackModeThe track mode. See the SCSI-3 Multi-Media specification for an explanation of meaning of this member.
CopyThe copy bit indicates whether the track is a copy or not. If this bit is 1, the track is a copy. If it is 0, the track is not a copy.
DamageThe damage bit indicates, together with the NWA_V bit, whether a write to the media is complete or not, and what sort of methods the CD-ROM class driver can use to complete the write. See the SCSI-3 Multi-Media specification for an explanation of how to interpret the values in the Damage and NWA_V members.
Reserved5Reserved.
DataModeThe data mode. This member can have any of the following values:
| Value | Meaning |
| 0x1 | The track uses data mode 1 (ISO/IEC 10149) |
| 0x2 | The track uses data mode 2 (ISO/IEC 10149 or CD-ROM XA) |
| 0xf | There is no track descriptor block, and therefore the data block type of the track is unknown. |
FixedPacketThe fixed packet bit indicates, under some circumstances, when set to 1, that write operations to the track must use fixed packets. For a complete explanation of the meaning of this bit, see the SCSI Multimedia Commands - 3 (MMC-3) specification.
PacketThe fixed packet bit indicates, under some circumstances, when set to 1, that write operations to the track must use fixed packets. For a complete explanation of the meaning of this bit, see the SCSI Multimedia Commands - 3 (MMC-3) specification.
BlankThe blank bit, when set to 1, indicates that the track contains no written data and last recorded address field is invalid. For a complete explanation of the meaning of this bit, see the SCSI Multimedia Commands - 3 (MMC-3) specification.
ReservedTrackThe reserved track bit, when 1, indicates that the track is reserved.
NWA_VA boolean value that indicates, when 1, that the value in NextWritableAddress is valid. If 0, the value in NextWritableAddress is invalid.
LRA_VA boolean value that indicates whether the LastRecordedAddress member is valid or not. If LRA_V is 1, the LastRecordedAddress member is valid. If 0, the LastRecordedAddress member is not valid.
Reserved6Reserved.
TrackStartAddressThe starting address of the specified track.
NextWritableAddressThe logical block address of the next writable user block in the track specified by the track number (TrackNumberLsb and TrackNumberMsb).
FreeBlocksThe maximum number of user data blocks that are available for recording in the track.
FixedPacketSizeThe blocking factor. This value The fixed packet size is valid only when the Packet and the FP bits are both set to one.
TrackSizeTrack Size is the number of user data blocks in the track.
LastRecordedAddressTrackNumberMsbThe most significant byte of the track number.
SessionNumberMsbThe most significant byte of the session number.
Reserved7Reserved7