GetCompressedFileSize function kernel32

int GetCompressedFileSize(
  1. Pointer<Utf16> lpFileName,
  2. Pointer<Uint32> lpFileSizeHigh
)

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);