// ntddcdrm.h
// CTL_CODE(0x0002, 0x006, METHOD_BUFFERED, FILE_READ_ACCESS)
#define IOCTL_CDROM_PLAY_AUDIO_MSF 0x00024018
View the official Windows Driver Kit DDI referenceNo description available.
Plays the specified range of the media. Obsolete, beginning with Windows Vista.
The CDROM_PLAY_AUDIO_MSF structure in the buffer at Irp->AssociatedIrp.System contains the starting and ending MSF values.
Parameters.DeviceIoControl.InputBufferLength in the I/O stack location indicates the size, in bytes, of the buffer, which must be greater than or equal to sizeof(CDROM_PLAY_AUDIO_MSF).
None.
None.
The Information field is set to zero. The Status field is set to STATUS_SUCCESS, or possibly to STATUS_INVALID_DEVICE_REQUEST, STATUS_BUFFER_TOO_SMALL, STATUS_DEVICE_NOT_READY, STATUS_IO_DEVICE_ERROR, STATUS_IO_TIME_OUT, or STATUS_VERIFY_REQUIRED.
Beginning with Windows Vista, CDROM class drivers do not use this IOCTL. Prior to Windows Vista, this IOCTL was used for audio playback on older CD-ROM drives that supported direct audio output in hardware.
Client applications should use the Media Control Interface (MCI) API rather than issuing this IOCTL.