FSCTL_GET_INTEGRITY_INFORMATION IOCTL (winioctl.h)
检索 ReFS 卷上的文件或目录的完整性状态。
若要执行此操作,请使用以下参数调用 DeviceIoControl 函数。
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
);
要求
最低受支持的客户端 | 无受支持的版本 |
最低受支持的服务器 | Windows Server 2012 [仅限桌面应用] |
标头 | winioctl.h (包括 Windows.h) |