CDROM_TOC - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddcdrm.h

typedef struct _CDROM_TOC {
  UCHAR      Length[2];
  UCHAR      FirstTrack;
  UCHAR      LastTrack;
  TRACK_DATA TrackData[MAXIMUM_NUMBER_TRACKS];
} CDROM_TOC, *PCDROM_TOC;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddcdrm-_cdrom_toc)

_CDROM_TOC structure

Description

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.

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

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.

See also

CDROM_READ_TOC_EX

IOCTL_CDROM_READ_TOC_EX

TRACK_DATA