[PATCH 1/2] ntdll: Use the parent device for everything when processing a storage IOCTL request on Mac OS.

Charles Davis cdavis at mymail.mines.edu
Wed Oct 14 11:46:46 CDT 2009


Many CD/DVD IOCTLs on Mac OS fail when invoked on a partition device. If you
inspect the I/O Kit registry, the reason is obvious: the device file for
the whole disk is provided by a class that understands CD/DVD commands
(IO{CD,DVD}MediaBSDClient), while the device file for the partition is
provided by a class that doesn't (IOMediaBSDClient). I don't know why
Apple did it this way, but that's the way they did this.
---
 dlls/ntdll/cdrom.c |   46 +++++++++++++++++++++++++---------------------
 1 files changed, 25 insertions(+), 21 deletions(-)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-Use-the-parent-device-for-everything-when-proc.patch
Type: text/x-patch
Size: 2429 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091014/f1632dd0/attachment.bin>


More information about the wine-patches mailing list