kernel32-GetFinalPathNameByHandle: Fix an incorrect comment.

This commit is contained in:
Sebastian Lackner 2014-09-01 23:47:48 +02:00
parent e272c49cd8
commit b0f0c3ea9f

View File

@ -1,4 +1,4 @@
From 92e7f9f4ea656ac7d33c33977a718ec651b5e6e8 Mon Sep 17 00:00:00 2001
From 7f9ec61d451223868ef2b1b20b16c59a11706412 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Tue, 12 Aug 2014 20:24:14 +0200
Subject: kernel32: Implement GetFinalPathNameByHandle.
@ -10,7 +10,7 @@ Subject: kernel32: Implement GetFinalPathNameByHandle.
3 files changed, 192 insertions(+)
diff --git a/dlls/kernel32/file.c b/dlls/kernel32/file.c
index 412659b..56366b0 100644
index 412659b..4646217 100644
--- a/dlls/kernel32/file.c
+++ b/dlls/kernel32/file.c
@@ -2810,3 +2810,185 @@ DWORD WINAPI K32GetDeviceDriverFileNameW(void *image_base, LPWSTR file_name, DWO
@ -79,7 +79,7 @@ index 412659b..56366b0 100644
+ flags &= ~FILE_NAME_OPENED;
+ }
+
+ /* Get information required for VOLUME_NAME_NONE, VOLUME_NAME_GUID and VOLUME_NAME_DOS */
+ /* Get information required for VOLUME_NAME_NONE, VOLUME_NAME_GUID and VOLUME_NAME_NT */
+ if (flags == VOLUME_NAME_NONE || flags == VOLUME_NAME_GUID || flags == VOLUME_NAME_NT)
+ {
+ if (!GetVolumePathNameW( info->Name.Buffer, drive_part, MAX_PATH ))