Extensible Firmware Interface Specification
196 12/12/00 Version 1.02
10.2.3 EFI_FILE.Delete()
Summary
Closes and deletes a file.
Prototype
EFI_STATUS
(EFIAPI *EFI_FILE_DELETE) (
IN EFI_FILE *This
);
Parameters
This A pointer to the EFI_FILE instance that is the handle to the file to
delete. Type EFI_FILE is defined in Section 10.2.
Description
The Delete() function closes and deletes a file. In all cases the file handle is closed. If the file
cannot be deleted, the warning code EFI_WARN_DELETE_FAILURE is returned, but the handle is
still closed.
Status Codes Returned
EFI_SUCCESS The file was closed and deleted, and the handle was
closed.
EFI_WARN_DELETE_FAILURE The handle was closed, but the file was not deleted.