
AllocUnit() function doesn't work properly with NTFS
Declare Function AllocUnit Lib "SETUPKIT.DLL" () As Long
92/10/21 00:00 7,008 SETUPKIT.DLL
This function does not return the proper disk allocation unit size for NTFS
volumes, and I assume not for HPFS volumes either. With Galahad I use this
function to calculate disk storage and determine if files should be purged
or not.
It returns 8192 bytes instead of 512 bytes for my NTFS formatted disk so I
end up purging more files than my limit inidicates.
Does anybody know another utility to get this size? Or is there a newer
version of setupkit.dll available that fixes this problem?
http://www.*-*-*.com/ ~jvwater/home.html