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) |