Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

COMPRESS_INFORMATION_CLASS enumeration

The values of this enumeration identify the type of information class being set or retrieved.

Syntax


typedef enum  { 
  COMPRESS_INFORMATION_CLASS_INVALID     = 0x0,
  COMPRESS_INFORMATION_CLASS_LEVEL,
  COMPRESS_INFORMATION_CLASS_BLOCK_SIZE
} COMPRESS_INFORMATION_CLASS;

Constants

COMPRESS_INFORMATION_CLASS_INVALID

Invalid information class

COMPRESS_INFORMATION_CLASS_LEVEL

Desired 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).

COMPRESS_INFORMATION_CLASS_BLOCK_SIZE

Customized 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).

Requirements

Header

Compressapi.h on Windows 8 and Windows Server 2012

 

 

Community Additions

Show:
© 2017 Microsoft