How to get BytesPerCluster?
Posted on 1998-08-06
Here's the way I get the BytesPerCluster in my freeware to caculate disk allocation.
dwBytesPerCluster = dwSectorsPerCluster*dwBytesPerSector;
One of my user, apparently knows better windows than me, point out that the figure I got (32k) is wrong:
> "On the latest Win95, OSR 2, and Win98 operating systems, FAT32 allows 4 KB clusters for large HD's between 2 GB to 2 TB size. "
I've notice that the figure I got is wired already, and it is not correct also on Novell. So I want to know, how to get it through VC? Thanks