 
        // 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 referenceNo description available.
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.
LengthIndicates the length, in bytes, of the table of contents data. This length value does not include the length of the Length member itself.
FirstTrackIndicates the first track number of the table of contents of the first complete session.
LastTrackIndicates the last track number of the table of contents of the last complete session.
TrackDataArray of structures of type TRACK_DATA that contain table of contents information for all the sessions on the disc.
The output data contains table of contents information for one or more of the specified sessions.