Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The values of this enumeration identify the type of information class being set or retrieved.
Syntax
typedef enum {
COMPRESS_INFORMATION_CLASS_INVALID = 0,
COMPRESS_INFORMATION_CLASS_BLOCK_SIZE,
COMPRESS_INFORMATION_CLASS_LEVEL
} COMPRESS_INFORMATION_CLASS;
Constants
COMPRESS_INFORMATION_CLASS_INVALIDValue: 0 Invalid information class |
COMPRESS_INFORMATION_CLASS_BLOCK_SIZECustomized block size. The value specified may be from 65536 to 67108864 bytes. This value can be used only with the LZMS compression algorithm. A minimum size of 1 MB is suggested to get a better compression ratio. An information class of this type is sizeof(DWORD). |
COMPRESS_INFORMATION_CLASS_LEVELDesired level of compression. The default value is (DWORD)0. The value (DWORD)1 can improve the compression ratio with a slightly slower compression speed. This value can be used only with the XPRESS compression algorithm or the XPRESS with Huffman encoding compression algorithm. An information class of this type is sizeof(DWORD). |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
| Header | compressapi.h |