15.11.04 13:40:03, Marcus Comstedt wrote:
GetVolumeInformation( "C:", NULL, 0, NULL, NULL, NULL, szFs, 8);
For the first parameter, the root directory must be extracted from the file name. If the file name doesn't contain a drive specification, that parameter should be chosen as NULL, then GetVolumeInformation uses the current drive.
What about paths starting with \?
For UNC paths, one has no option but to trust the corresponding network resource to return the correct FILETIME. So yes, UNC paths should be detected and the same calculation as for NTFS should be used.
Axel