Value Meaning CHECKSUM_TYPE_NONE The file or directory is set to not use integrity. 0x0000 CHECKSUM_TYPE_CRC64 The file or directory is set to provide integrity using a CRC64 checksum. 0x0002 CHECKSUM_TYPE_UNCHANGED The integrity status of the file or directory is unchanged. 0xFFFF All other values Reserved for future use and MUST NOT be used. 0x0003 — 0xFFFE For ReFS v2, the field MUST be set to one of the following standard values. Value Meaning CHECKSUM_TYPE_NONE The file or directory is set to not use integrity. 0x0000 CHECKSUM_TYPE_CRC32 The file or directory is set to provide integrity using a CRC32 checksum. 0x0001 CHECKSUM_TYPE_CRC64 The file or directory is set to provide integrity using a CRC64 checksum. 0x0002 CHECKSUM_TYPE_UNCHANGED The integrity status of the file or directory is unchanged. 0xFFFF All other values Reserved for future use and MUST NOT be used. 0x0003 — 0xFFFE Note that for ReFS v2 any value except CHECKSUM_TYPE_NONE or CHECKSUM_TYPE_UNCHANGED will set the integrity value to a file-system-selected integrity mechanism and is not guaranteed to use the user specified checksum value. Reserved (2 bytes): A 16-bit reserved value. This field MUST be set to zero and MUST be ignored. Flags (4 bytes): A 32-bit unsigned integer that contains zero or more of the following flag values. Flag values that are unspecified in the following table SHOULD be set to 0 and MUST be ignored. Value Meaning FSCTL_INTEGRITY_FLAG_CHECKSUM_ENFORCEMENT_OFF When set, if a checksum does not match, the associated I/O operation will not be failed. 0x00000001 FSCTL_SET_INTEGRITY_INFORMATION Reply This message returns the results of the . The only data item this message returns is a status code, as specified in section . Upon success, the status code returned by the function that processes this is STATUS_SUCCESS. The most common error codes are listed in the following table.
Value Meaning CHECKSUM_TYPE_NONE 0x0000 The file or directory is set to not use integrity. CHECKSUM_TYPE_CRC64 0x0002 The file or directory is set to provide integrity using a CRC64 checksum. CHECKSUM_TYPE_UNCHANGED 0xFFFF The integrity status of the file or directory is unchanged. All other values 0x0003 — 0xFFFE Reserved for future use and MUST NOT be used. For ReFS v2, the field MUST be set to one of the following standard values. Value Meaning CHECKSUM_TYPE_NONE 0x0000 The file or directory is set to not use integrity. CHECKSUM_TYPE_CRC32 0x0001 The file or directory is set to provide integrity using a CRC32 checksum. CHECKSUM_TYPE_CRC64 0x0002 The file or directory is set to provide integrity using a CRC64 checksum. CHECKSUM_TYPE_UNCHANGED 0xFFFF The integrity status of the file or directory is unchanged. All other values 0x0003 — 0xFFFE Reserved for future use and MUST NOT be used. Note that for ReFS v2 any value except CHECKSUM_TYPE_NONE or CHECKSUM_TYPE_UNCHANGED will set the integrity value to a file-system-selected integrity mechanism and is not guaranteed to use the user specified checksum value. Reserved (2 bytes): A 16-bit reserved value. This field MUST be set to zero and MUST be ignored. Flags (4 bytes): A 32-bit unsigned integer that contains zero or more of the following flag values. Flag values that are unspecified in the following table SHOULD be set to 0 and MUST be ignored. Value Meaning FSCTL_INTEGRITY_FLAG_CHECKSUM_ENFORCEMENT_OFF 0x00000001 When set, if a checksum does not match, the associated I/O operation will not be failed. FSCTL_SET_INTEGRITY_INFORMATION Reply This message returns the results of the . The only data item this message returns is a status code, as specified in section . Upon success, the status code returned by the function that processes this is STATUS_SUCCESS. The most common error codes are listed in the following table.
%5BMS-FSCC%5D-180316.docx