GetCompressedFileSize function kernel32
Retrieves the actual number of bytes of disk storage used to store a specified file. If the file is located on a volume that supports compression and the file is compressed, the value obtained is the compressed size of the specified file. If the file is located on a volume that supports sparse files and the file is a sparse file, the value obtained is the sparse size of the specified file.
DWORD GetCompressedFileSizeW(
LPCWSTR lpFileName,
LPDWORD lpFileSizeHigh
);
Implementation
int GetCompressedFileSize(
Pointer<Utf16> lpFileName, Pointer<Uint32> lpFileSizeHigh) =>
_GetCompressedFileSize(lpFileName, lpFileSizeHigh);