Bewerken

Delen via


CDROM_TOC_SESSION_DATA structure (ntddcdrm.h)

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[2]

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[1]

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

Requirements

Requirement Value
Header ntddcdrm.h (include Ntddcdrm.h)

See also

CDROM_READ_TOC_EX

IOCTL_CDROM_READ_TOC_EX

TRACK_DATA