try2 [1/1] kernel32: Fix GetVolumeNameForVolumeMountPointW to match Mountmgr

Guy Albertelli galberte at neo.rr.com
Wed May 13 05:58:30 CDT 2009


mountmgr.sys uses a specific format for "unique volume name", make
GetVolumeNameForVolumeMountPointW use mountmgr to return that specific
unique volume name.

Cleaned up code per comments and with an enhanced test.

Changelog
  - Make GetVolumeNameForVolumeMountPointW use mountmgr.sys to return
    the correct "unique volume name"
  - Correct error returns and issue FIXME for mounted folders
---
 dlls/kernel32/tests/volume.c |   14 ++---
 dlls/kernel32/volume.c       |  132 +++++++++++++++++++++++++++++++++++++++--
 2 files changed, 131 insertions(+), 15 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4b6d2332afae5b8abb1545929602fc2021a355f0.diff
Type: text/x-patch
Size: 8990 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090513/b5b879eb/attachment.bin>


More information about the wine-patches mailing list