FSCTL_GET_INTEGRITY_INFORMATION_BUFFER - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// winioctl.h

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;
View the official Win32 API reference

NtDoc

No description available.

Win32 API reference (ns-winioctl-fsctl_get_integrity_information_buffer)

FSCTL_GET_INTEGRITY_INFORMATION_BUFFER structure

Description

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

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.

See also

FSCTL_GET_INTEGRITY_INFORMATION

FSCTL_SET_INTEGRITY_INFORMATION_BUFFER

Volume Management Structures