Queries the device for the first complete session number, the last complete session number, and the last complete session starting address. This request is the same as an IOCTL_CDROM_READ_TOC_EX request with a format of CDROM_READ_TOC_EX_FORMAT_SESSION. For more information on the CDROM_READ_TOC_EX_FORMAT_SESSION format, see the description of the Format member of the CDROM_READ_TOC_EX structure.
On output, if the value in the FirstCompleteSession member of CDROM_TOC_SESSION_DATA is the same as the value in the LastCompleteSession member, the disc is not multisession.
Input Buffer Length
The driver returns the query data in a CDROM_TOC_SESSION_DATA structure at Irp->AssociatedIrp.SystemBuffer.
Output Buffer Length
Length of a CDROM_TOC_SESSION_DATA structure.
The Information field is set to the number of bytes returned. The Status field is set to STATUS_SUCCESS, or possibly to STATUS_BUFFER_TOO_SMALL or STATUS_INSUFFICIENT_RESOURCES.
|Header||ntddcdrm.h (include Ntddcdrm.h)|