For part of my program, I need to find out how many bytes per cluster are used on any of the disks. So far, I have used the Win32 API function GetDiskFreeSpace(), which worked well under normal versions of Windows95. Then, I upgraded my computer and now have Windows95 OSR2 release, which means I have a FAT32 hard disk that is over 2GB and uses 4k clusters. When I realized the results from the program were incorrect, I checked the online help, and found that GetDiskFreeSpace() does not work on OSR2 machines. It lists a replacement for it, GetDiskFreeSpaceEx(), but this only returns the number of bytes free, and not the sectors and cluster information, meaning it's useless for my purposes.
Can you please help me get the bytes per cluster information in any way that I can? I can either use a different method only for OSR2, or I can just use it all the time. Please Help!