FSCTL_GET_INTEGRITY_INFORMATION_BUFFER structure (winioctl.h)

Contains the integrity information for a file or directory. Returned from the FSCTL_GET_INTEGRITY_INFORMATION control code.

Syntax

typedef struct _FSCTL_GET_INTEGRITY_INFORMATION_BUFFER {
  WORD  ChecksumAlgorithm;
  WORD  Reserved;
  DWORD Flags;
  DWORD ChecksumChunkSizeInBytes;
  DWORD ClusterSizeInBytes;
} FSCTL_GET_INTEGRITY_INFORMATION_BUFFER, *PFSCTL_GET_INTEGRITY_INFORMATION_BUFFER;

Members

ChecksumAlgorithm

The checksum algorithm used.

Value Meaning
CHECKSUM_TYPE_NONE
0x0000
The file or directory is not configured to use integrity.
CHECKSUM_TYPE_CRC64
0x0002
The file or directory uses a CRC64 checksum to provide integrity.
3–0xffff
Reserved for future use.

Reserved

Reserved for future use. Set to 0.

Flags

Contains one or more flags.

Value Meaning
FSCTL_INTEGRITY_FLAG_CHECKSUM_ENFORCEMENT_OFF
0x00000001
If set, the checksum enforcement is disabled.

ChecksumChunkSizeInBytes

Size in bytes of the chunks used to calculate checksums.

ClusterSizeInBytes

Size in bytes of a cluster for this volume. This value must be a power of 2, must be greater than or equal to the sector size of the underlying hardware and must be a power of 2 multiple of the sector size.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header winioctl.h (include Windows.h)

See also

FSCTL_GET_INTEGRITY_INFORMATION

FSCTL_SET_INTEGRITY_INFORMATION_BUFFER

Volume Management Structures