FILE_COMPRESSION_INFO structure

Receives file compression information. Used for any handles. Use only when calling GetFileInformationByHandleEx.

Syntax


typedef struct _FILE_COMPRESSION_INFO {
  LARGE_INTEGER CompressedFileSize;
  WORD          CompressionFormat;
  UCHAR         CompressionUnitShift;
  UCHAR         ChunkShift;
  UCHAR         ClusterShift;
  UCHAR         Reserved[3];
} FILE_COMPRESSION_INFO, *PFILE_COMPRESSION_INFO;

Members

CompressedFileSize

The file size of the compressed file.

CompressionFormat

The compression format that is used to compress the file.

CompressionUnitShift

The factor that the compression uses.

ChunkShift

The number of chunks that are shifted by compression.

ClusterShift

The number of clusters that are shifted by compression.

Reserved

Reserved.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Redistributable

Windows SDK on Windows Server 2003 and Windows XP.

Header

WinBase.h (include Windows.h);
FileExtd.h on Windows Server 2003 and Windows XP

See also

FILE_INFO_BY_HANDLE_CLASS
GetFileInformationByHandleEx

 

 

Community Additions

ADD
Show:
© 2014 Microsoft