I have written a filter driver that sits inbetween the UDF and various dvd
playback applications. In my filter I need to fail a read and get the
application to stop playback.
I am doing this by setting
Data->IoStatus.Status = STATUS_DEVICE_IO_ERROR;
Data->IoStatus.Information = 0;
WinDvd interprets it correctly and cleanly stops playback. MediaPlayer (and
some other players) start playing ugly static out of the speakers and the
time counter keeps climbing eventhough it is no longer playing video. I have
tried various other status codes but it doesn't seem to matter.
It seems like they are not checking the return status...
Any thoughts?
--
Still trying to build a perpetual motion machine