4 // Copyright (C) 2021 Christian Franke
6 // SPDX-License-Identifier: MIT
14 /* Not yet provided by w32api headers. */
15 #ifndef FILE_PROVIDER_COMPRESSION_XPRESS4K
16 #define FILE_PROVIDER_COMPRESSION_XPRESS4K 0
17 #define FILE_PROVIDER_COMPRESSION_LZX 1
18 #define FILE_PROVIDER_COMPRESSION_XPRESS8K 2
19 #define FILE_PROVIDER_COMPRESSION_XPRESS16K 3
22 // Returns: 1=compressed, 0=not compressed, -1=error
23 int CompactOsCompressFile(HANDLE h
, DWORD algorithm
);