http://bugs.winehq.org/show_bug.cgi?id=9649
--- Comment #21 from Erich Hoover ehoover@mines.edu 2009-03-22 16:41:16 --- Created an attachment (id=20081) --> (http://bugs.winehq.org/attachment.cgi?id=20081) An experiment in USB Storage
(In reply to comment #20)
... It was on IRC when I asked him, and I don't remember exactly. IIRC, something about the mountmgr.sys part of the implementation. ...
Well, the entire thing is in mountmgr.sys... I've attached an experiment where I put as much of Maarten's work as possible in a separate usbstor.sys and made very trivial changes to mountmgr.sys. I thought I had CreateFile on the USB resource working at one point but for some reason it's not working at the moment (iTune's NtCreateFile is calling the exact same file name as created with IoCreateSymbolicLink, so I'm a bit puzzled as to why it's returning STATUS_OBJECT_NAME_NOT_FOUND). Anyway, I've already spent too much time avoiding other work I have to do, so I'm going to throw this out there as a different way of approaching the problem.