CDROM_TOC_SESSION_DATA structure

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.

Syntax


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;

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.

Requirements

Header

Ntddcdrm.h (include Ntddcdrm.h)

See also

IOCTL_CDROM_READ_TOC_EX
CDROM_READ_TOC_EX
TRACK_DATA

 

 

Send comments about this topic to Microsoft

Show: