Specifications

48 Version 2.0
EFI_SHELL_PROTOCOL.SetFileInfo()
Summary
Sets the file information to an opened file handle.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_SHELL_SET_FILE_INFO)(
IN EFI_FILE_HANDLE FileHandle,
IN CONST EFI_FILE_INFO *FileInfo
);
Parameters
FileHandle
A file handle
FileInfo
Points to new file information.
Description
This function changes file information.
Status Codes Returned
EFI_SUCCESS The information was set.
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.
EFI_BAD_BUFFER_SIZE BufferSize is smaller than the size of
EFI_FILE_INFO.