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.
Input Buffer Length
Length of a CDROM_STREAMING_CONTROL.
Output Buffer Length
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:
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.
|Header||ntddcdrm.h (include Winioctl.h)|