 
        // ntddcdrm.h
typedef struct _CDROM_TOC_SESSION_DATA {
  UCHAR      Length[2];
  UCHAR      FirstCompleteSession;
  UCHAR      LastCompleteSession;
  TRACK_DATA TrackData[1];
} CDROM_TOC_SESSION_DATA, *PCDROM_TOC_SESSION_DATA;
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_SESSION 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.
FirstCompleteSessionContains the number of the first complete session.
LastCompleteSessionContains the number of the last complete session.
TrackDataContains data for the first track of the last finished session. This data includes the starting address and number of the track.