Adjustment to dialog layout for translation
[cygwin-setup.git] / compactos.h
blobf1877189c8f51ec35b5c82ac21526c890b649dc3
1 //
2 // compactos.h
3 //
4 // Copyright (C) 2021 Christian Franke
5 //
6 // SPDX-License-Identifier: MIT
7 //
9 #ifndef COMPACTOS_H
10 #define COMPACTOS_H
12 #include <windows.h>
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
20 #endif
22 // Returns: 1=compressed, 0=not compressed, -1=error
23 int CompactOsCompressFile(HANDLE h, DWORD algorithm);
25 #endif // COMPACTOS_H