FlushFileBuffers()

Syntax

Result = FlushFileBuffers(#File)
Description
Ensures that all buffered operations are written to disk.

Parameters

#File The file to use.

Return value

Nonzero if the buffer has been successfully written the disk. If an error occurred (ie: disk full, disk error), it will return zero.

Remarks

See FileBuffersSize() for more information about file buffer management.

See Also

FileBuffersSize()

Supported OS

All

<- FileSeek() - File Index - IsFile() ->