Specifications

20 Version 2.0
EFI_SHELL_PROTOCOL.FlushFile()
Summary
Flushes data back to a device
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_SHELL_FLUSH_FILE)(
IN EFI_FILE_HANDLE FileHandle
);
Parameters
FileHandle
The handle of the file to flush.
Description
This 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.