CDROM_TOC_SESSION_DATA - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

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

_CDROM_TOC_SESSION_DATA structure

Description

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.

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.

FirstCompleteSession

Contains the number of the first complete session.

LastCompleteSession

Contains the number of the last complete session.

TrackData

Contains data for the first track of the last finished session. This data includes the starting address and number of the track.

See also

CDROM_READ_TOC_EX

IOCTL_CDROM_READ_TOC_EX

TRACK_DATA