GetVolumeInformation Bug
All,
When GetVolumeInformation() is called for a network redirected drive, it
returns a bogus volume label if the volume label is only stored in the boot
sector. Backgrounder: Starting with DOS 4.0, the volume label can appear in
the boot sector, or can be a specially marked file in the root directory.
Apparently, GetVolumeInformation will return bogus values if it does not find a
file in the root directory with the VOLID attribute. This is very important
for my application because I juggle removeable media on network drives. Help!
I have tested this on Win32s with Novell, Chicago Beta1, NT 3.5 Beta and it
fails the same on all systems. If the drive only has a volume label in the
boot sector, the api returns either the first file in the root directory, or
the first subdir name in the root directory if there are no files.
If this is not the right place to report this where is?
Larry Bank
Read action !