IOCTL_CDROM_ENABLE_STREAMING control code
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.
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:
The request completed successfully.
The input buffer length is smaller than required.
The request type is not one of the four in types defined in the STREAMING_CONTROL_REQUEST_TYPE enumeration.
Cannot find the file object context in the request.
The requested streaming mode is not supported.
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.