AllocUnit() function doesn't work properly with NTFS 
Author Message
 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



Tue, 14 Oct 1997 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. VBScript Eval function doesn't work properly

2. CreateProcess function doesn't work properly.

3. Replace function doesn't work properly

4. CreateProcess function doesn't work properly.

5. Documenter doesn't work properly in A2K

6. Select method doesn't work properly

7. Small toolbar look - toolbar control doesn't work properly

8. STMAdmin.dll to query NT Log doesn't seem to work properly

9. My CommonDialog doesn't work properly

10. Match in DataCombo doesn't work properly

11. mmioInstallIOProc() doesn't work properly when compiled to native code

12. TVM_INSERTITEM doesn't seem to work properly

 

 
Powered by phpBB® Forum Software