mountmgr.sys: Write usable device paths into HKLM\SYSTEM\MountedDevices.
Bernhard Übelacker
bernhardu at vr-web.de
Mon Jul 27 10:17:06 CDT 2015
Hello,
I got asked if I could get a discussion started for the attached
patch and bug #38235 [1].
This bug is about Blindwrite 7 not showing any usable
source DVD drive.
It seems Blindwrite relies on the values stored in
HKLM\SYSTEM\MountedDevices to enumerate drives.
Wine currently stores in e.g. "\DosDevices\D:" the linux mount
point of the drive as ansi string.
A native Windows XP stores there (as wide string):
\??\IDE#CdRomVBOX_CD-ROM_____________________________1.0_____#42562d3231303037333036372020202020202020#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
This patch stores now as content just the device (also as wide string):
\\.\d:
This is sufficient to make Blindwrite 7 happy.
- Is there currently any use of the stored linux mount point anywhere?
- Is there a test needed and where should that be placed
as mountmgr.sys has currently no tests subdirectory?
- Is there a reason known why this short device name should not
be used in this situation?
Kind regards,
Bernhard
[1] https://bugs.winehq.org/show_bug.cgi?id=38235
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mountmgr.sys-Write-usable-device-paths-into-HKLM-SYS.patch
Type: text/x-patch
Size: 3796 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20150727/c15ca90c/attachment-0001.bin>
More information about the wine-devel
mailing list