I've got some code which does low level access to CD/DVD writers using SPTI.
That's all fine, except when something goes wrong (usually, sadly, the
result of my bugs :( ).
Then I'm left with a device which thinks it's busy and I can do nothing to
persuade it otherwise (save reboot the machine).
What I think I want to do is a device reset, but this seems not to be
supported, either as a SCSI command or an IOCTL.
How can I reset the device/subsystem so that I can gracefully back out of my
error condition and start to re-use the device?
(Sample code would be particularly nice)
Thanks
Iain