Obtaining the Size of a Sparse File

[This is preliminary documentation and subject to change.]

Use the GetCompressedFileSize function to obtain the actual size allocated on disk for a sparse file. This total does not include the size of the regions which were deallocated because they were filled with zeroes. Use the GetFileSize function to determine the total size of a file, including the size of the sparse regions that were deallocated.