RFC: ntdll: Implement CDROM_GetInterfaceInfo() on Mac OS (try 2)

Alexandre Julliard julliard at winehq.org
Fri Oct 23 07:07:41 CDT 2009


Charles Davis <cdavis at mymail.mines.edu> writes:

> OK, thanks. Now I've got this straight. I should do something like
> dlls/mountmgr.sys/device.c, where I'd have an NT device like
> \Device\CdRom0 (or some such), whose FD I'd pass to the server so that
> when NTDLL opens the device and gets its FD, it still has the CD-ROM
> device for client-side calls. But when I need to call mountmgr, I open
> \Device\CdRom0 (or some such) and pass the IOCTL on to mountmgr. Is that
> right? Or am I still missing something?

Pretty much, except of course you don't open \Device\CdRom0 yourself,
the app does that, and you get a handle to it.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list