Allow allow lower case when being called

svn path=/trunk/; revision=23920
This commit is contained in:
Hervé Poussineau 2006-09-04 22:16:43 +00:00
parent aa34958d1b
commit d5168c3b05

View file

@ -50,7 +50,7 @@ FormatEx(
#if 1
DPRINT1("Warning: use GetVolumeNameForVolumeMountPointW() instead!\n");
swprintf(VolumeName, L"\\\\.\\%c:", DriveRoot[0]);
swprintf(VolumeName, L"\\??\\%c:", towupper(DriveRoot[0]));
RtlCreateUnicodeString(&usDriveRoot, VolumeName);
/* Code disabled as long as our storage stack doesn't understand IOCTL_MOUNTDEV_QUERY_DEVICE_NAME */
#else