Hi Alexandre.
I have a test failure on my win7 Machine, while a valid cd was in the dvd drive.
Other machines are also affected.
You wrote the tests, which where comitted on 12. July 2012:
What media did you use, to test your code?
Data-DVD, Video-DVD, Empty DVD, Data-CD, Video-CD, Audio-CD, Empty CD, No Disc in Drive
What results did you get on Windows and Unix?
On Linux, mounting the example CD works perfect, but your test fails:
volume.c:785: Test failed: IOCTL_DVD_READ_STRUCTURE (DvdPhysicalDescriptor) failed, last error = 87
Your test only read the DVD descriptor.
To fix your test, I suggest, that you add a trace to dump the
*_READ_STRUCTURE IoControl result and add similar tests
for the other media formats.
I also tested with a different Data-CD and got the same failure on linux (last error = 87).
You can check the image yourself:
http://www.memtest86.com/downloads/memtest86-4.1.0-iso.zip
(Burned on a CD)
That all winetest vm are missing optical media is a different issue:
http://bugs.winehq.org/show_bug.cgi?id=31780