IOCTL_CDROM_ENABLE_STREAMING IOCTL

Enables or disables CDROM streaming mode on a per-handle basis for raw read and write requests.

To perform this operation, call the DeviceIoControl function and specify the IOCTL_CDROM_ENABLE_STREAMING I/O control request as the dwIoControlCode parameter.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

CDROM_STREAMING_CONTROL

Input Buffer Length

Length of a CDROM_STREAMING_CONTROL.

Output Buffer

None.

Output Buffer Length

None.

Input / Output Buffer

Input / Output Buffer Length

Status Block

The Information field is set to the number of bytes returned.

Because of status code propagation from other APIs, the Status field can be set to (but not limited to) the following:

Remarks

By default, streaming is disabled for all newly opened raw CDROM handles. A playback application that does not want to use the file system and prefers to work with raw data should open two file handles for the same device: a regular one for file system metadata and a streaming one for real-time files.

Requirements

   
Header ntddcdrm.h (include Winioctl.h)

See Also

CDROM_STREAMING_CONTROL

DeviceIoControl