[fpc-pascal]cluster size info for win9x/go32

Ralf Quint rquint at primenet.com
Wed Sep 27 20:25:57 CEST 2000

At 01:26 PM 09/27/2000 -0400, you wrote:

> > Anyone know where one can get diskcluster size info? Can't seem to find
> > in win32 library... Need the info for win9x and dos? And also how to
> > this info via an fpc program? TIA for help.
>Don't know if this procedure will function under win9x, but with DOS it
>used to work fine.
>(See attached file: DriveInfo.Pas)
Well, the attached program will only work on drives/partitions up to 2GB in 
size. If the drive/partition is bigger (FAT32 partition), it will always 
return the maximum of 2GB-32K. For FAT32, use INT 21h/AX=7303h instead.


More information about the fpc-pascal mailing list