FSCTL_GET_INTEGRITY_INFORMATION IOCTL (winioctl.h)

Retrieves the integrity status of a file or directory on a ReFS volume.

To perform this operation, call the DeviceIoControl function with the following parameters.

BOOL DeviceIoControl(
  (HANDLE) hDevice,                 // handle to file or directory
  FSCTL_GET_INTEGRITY_INFORMATION,  // dwIoControlCode
  (LPDWORD) NULL,                   // pInBuffer
  (DWORD) 0,                        // InBufferSize
  (LPDWORD) pOutBuffer,             // FSCTL_GET_INTEGRITY_INFORMATION_BUFFER
  (DWORD) OutBufferSize,            // size of output buffer
  (LPDWORD) lpBytesReturned,        // number of bytes returned
  (LPOVERLAPPED) lpOverlapped       // OVERLAPPED structure
);

Requirements

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

See also