mountmgr.sys: Write usable device paths into HKLM\SYSTEM\MountedDevices.

Bernhard Übelacker bernhardu at
Mon Jul 27 10:17:06 CDT 2015

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):

This patch stores now as content just the device (also as wide string):

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,

-------------- 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: <>

More information about the wine-devel mailing list