Intel Extensible Firmware Interface User Manual
Page 394
Extensible Firmware Interface Specification
11-34
12/01/02
Version 1.10
Parameters
Size
Size of the
EFI_FILE_INFO
structure, including the Null-
terminated Unicode
FileName
string.
FileSize
The size of the file in bytes.
PhysicalSize
The amount of physical space the file consumes on the file
system volume.
CreateTime
The time the file was created.
LastAccessTime
The time when the file was last accessed.
ModificationTime
The time when the file’s contents were last modified.
Attribute
The attribute bits for the file. See “Related Definitions” above.
FileName
The Null-terminated Unicode name of the file.
Description
The
EFI_FILE_INFO
data structure supports
requests. In the
case of
SetInfo()
, the following additional rules apply:
• On directories, the file size is determined by the contents of the directory and cannot be
changed by setting
FileSize
. On directories,
FileSize
is ignored during a
SetInfo()
.
• The
PhysicalSize
is determined by the
FileSize
and cannot be changed. This value
is ignored during a
SetInfo()
request.
• The
EFI_FILE_DIRECTORY
attribute bit cannot be changed. It must match the file’s
actual type.
• A value of zero in
CreateTime
,
LastAccess
, or
ModificationTime
causes the fields
to be ignored (and not updated).