Skip to content

Latest commit

 

History

History
198 lines (134 loc) · 5.24 KB

ns-minitape-_track_information2.md

File metadata and controls

198 lines (134 loc) · 5.24 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:minitape._TRACK_INFORMATION2
_TRACK_INFORMATION2 (minitape.h)
The _TRACK_INFORMATION2 structure (minitape.h) contains detailed track information, including location, size, and data mode.
storage\track_information2.htm
storage
03/29/2018
TRACK_INFORMATION2 structure
*PTRACK_INFORMATION2, PTRACK_INFORMATION2, PTRACK_INFORMATION2 structure pointer [Storage Devices], TRACK_INFORMATION2, TRACK_INFORMATION2 structure [Storage Devices], _TRACK_INFORMATION2, scsi/PTRACK_INFORMATION2, scsi/TRACK_INFORMATION2, storage.track_information2, structs-CD-ROM_a77c4142-fe27-489b-ab9c-1637cf4b911d.xml
minitape.h
Scsi.h, Minitape.h, Storport.h
Windows
Windows
TRACK_INFORMATION2, *PTRACK_INFORMATION2
_TRACK_INFORMATION2
minitape/_TRACK_INFORMATION2
PTRACK_INFORMATION2
minitape/PTRACK_INFORMATION2
TRACK_INFORMATION2
minitape/TRACK_INFORMATION2
APIRef
kbSyntax
HeaderDef
scsi.h
_TRACK_INFORMATION2
PTRACK_INFORMATION2
TRACK_INFORMATION2

_TRACK_INFORMATION2 structure (minitape.h)

-description

The TRACK_INFORMATION2 structure is used to report track information.

-struct-fields

-field Length

The length, in bytes, of this structure.

-field TrackNumberLsb

The least significant byte of the track number.

-field SessionNumberLsb

The least significant byte of the session number.

-field Reserved4

Reserved.

-field TrackMode

The track mode. See the SCSI-3 Multi-Media specification for an explanation of meaning of this member.

-field Copy

The 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.

-field Damage

The 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.

-field Reserved5

Reserved.

-field DataMode

The 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.

-field FixedPacket

The 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.

-field Packet

The 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.

-field Blank

The 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.

-field ReservedTrack

The reserved track bit, when 1, indicates that the track is reserved.

-field NWA_V

A boolean value that indicates, when 1, that the value in NextWritableAddress is valid. If 0, the value in NextWritableAddress is invalid.

-field LRA_V

A 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.

-field Reserved6

Reserved.

-field TrackStartAddress

The starting address of the specified track.

-field NextWritableAddress

The logical block address of the next writable user block in the track specified by the track number (TrackNumberLsb and TrackNumberMsb).

-field FreeBlocks

The maximum number of user data blocks that are available for recording in the track.

-field FixedPacketSize

The blocking factor. This value The fixed packet size is valid only when the Packet and the FP bits are both set to one.

-field TrackSize

Track Size is the number of user data blocks in the track.

-field LastRecordedAddress

-field TrackNumberMsb

The most significant byte of the track number.

-field SessionNumberMsb

The most significant byte of the session number.

-field Reserved7

Reserved7