_CDROM_TOC structure

Device control IRPs with a control code of IOCTL_CDROM_READ_TOC_EX and a format of CDROM_READ_TOC_EX_FORMAT_TOC return their output data in this structure followed by a series of TRACK_DATA structures.

Syntax

typedef struct _CDROM_TOC {
  UCHAR      Length[2];
  UCHAR      FirstTrack;
  UCHAR      LastTrack;
  TRACK_DATA TrackData[MAXIMUM_NUMBER_TRACKS];
} CDROM_TOC, *PCDROM_TOC;

Members

Length

Indicates the length, in bytes, of the table of contents data. This length value does not include the length of the Length member itself.

FirstTrack

Indicates the first track number of the table of contents of the first complete session.

LastTrack

Indicates the last track number of the table of contents of the last complete session.

TrackData

Pointer to an array of structures of type TRACK_DATA that contain table of contents information for all the sessions on the disc.

Remarks

The output data contains table of contents information for one or more of the specified sessions.

Requirements

   
Header ntddcdrm.h (include Ntddcdrm.h)

See Also

CDROM_READ_TOC_EX

IOCTL_CDROM_READ_TOC_EX

TRACK_DATA