File System Protocol
Version 1.02 12/12/00 203
10.2.10 EFI_FILE.Flush()
Summary
Flushes all modified data associated with a file to a device.
Prototype
EFI_STATUS
(EFIAPI *EFI_FILE_FLUSH) (
IN EFI_FILE *This
);
Parameters
This A pointer to the EFI_FILE instance that is the file handle to flush.
Type EFI_FILE is defined in Section 10.2.
Description
The Flush() function flushes all modified data associated with a file to a device.
Status Codes Returned
EFI_SUCCESS The data was flushed.
EFI_NO_MEDIA The device has no medium.
EFI_DEVICE_ERROR The device reported an error.
EFI_VOLUME_CORRUPTED The file system structures are corrupted.
EFI_WRITE_PROTECTED The file or medium is write protected.
EFI_ACCESS_DENIED The file was opened read-only.
EFI_VOLUME_FULL The volume is full.