[PATCH v3 6/6] kernel32: Reimplement GetVolumePathName() using NtQueryInformationFile(FileAttributeTagInformation).

Alexandre Julliard julliard at winehq.org
Thu Mar 19 16:10:21 CDT 2020


Zebediah Figura <z.figura12 at gmail.com> writes:

> Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
> ---
> v2: fix a double free; thanks Zhiyi
>
>  dlls/kernel32/volume.c | 230 +++++++++++++++++++++--------------------
>  1 file changed, 120 insertions(+), 110 deletions(-)

This breaks the tests:

../../../tools/runtest -q -P wine -T ../../.. -M kernel32.dll -p kernel32_test.exe volume && touch volume.ok
volume.c:913: Test failed: GetVolumePathName test 17 unexpectedly returned path Z:\home\ (expected Z:\).
volume.c:913: Test failed: GetVolumePathName test 18 unexpectedly returned path Z:\home\ (expected Z:\).
volume.c:913: Test failed: GetVolumePathName test 19 unexpectedly returned path Z:\home\ (expected Z:\).
volume.c:913: Test failed: GetVolumePathName test 36 unexpectedly returned path Z:\home\ (expected Z:\).
volume.c:913: Test failed: GetVolumePathName test 37 unexpectedly returned path Z:\home\ (expected Z:\).
volume.c:913: Test failed: GetVolumePathName test 38 unexpectedly returned path Z:\home\ (expected Z:\).
volume.c:913: Test failed: GetVolumePathName test 39 unexpectedly returned path Z:\home\ (expected Z:\).
volume.c:1166: Tests skipped: IOCTL_DVD_READ_STRUCTURE not supported: 87
volume.c:1328: Tests skipped: Not enough permissions to create a mounted folder.
make: *** [Makefile:1057: volume.ok] Error 7

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list