http://bugs.winehq.org/show_bug.cgi?id=10957
--- Comment #8 from Vitaliy Margolen vitaliy@kievinfo.com 2007-12-30 09:51:06 --- Created an attachment (id=9908) --> (http://bugs.winehq.org/attachment.cgi?id=9908) Sameple test program to return CD-ROM SCSI information
If you think that you can use any msdn examples as-is and expect them to work - you are nuts! Here is the example of how it _REALLY WORKS_ and been working for past 5 years at least (if not more).
The part that you don't get is that you have to have access to the device (which you apparently don't have).