Specifications
Version 2.0
31
EFI_SHELL_PROTOCOL.GetFileSize()
Summary
Gets the size of a file.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_SHELL_GET_FILE_SIZE)(
IN EFI_FILE_HANDLE FileHandle,
OUT UINT64 *Size
);
Parameters
FileHandle
The handle of the file.
Size
The size of this file.
Description
This function returns the size of the file specified by FileHandle.
Status Codes Returned
EFI_SUCCESS Get the file’s size.
EFI_DEVICE_ERROR Can’t access the file.










