Extensible Firmware Interface Specification
204 12/12/00 Version 1.02
10.2.11 EFI_FILE_INFO
Summary
Provides a GUID and a data structure that can be used with EFI_FILE.SetInfo() and
EFI_FILE.GetInfo() to set or get generic file information.
GUID
#define EFI_FILE_INFO_ID \
{ 09576e92-6d3f-11d2-8e39-00a0c969723b }
Related Definitions
typedef struct {
UINT64 Size;
UINT64 FileSize;
UINT64 PhysicalSize;
EFI_TIME CreateTime;
EFI_TIME LastAccessTime;
EFI_TIME ModificationTime;
UINT64 Attribute;
CHAR16 FileName[];
} EFI_FILE_INFO;
//*******************************************************
// File Attribute Bits
//*******************************************************
#define EFI_FILE_READ_ONLY 0x0000000000000001
#define EFI_FILE_HIDDEN 0x0000000000000002
#define EFI_FILE_SYSTEM 0x0000000000000004
#define EFI_FILE_RESERVIED 0x0000000000000008
#define EFI_FILE_DIRECTORY 0x0000000000000010
#define EFI_FILE_ARCHIVE 0x0000000000000020
#define EFI_FILE_VALID_ATTR 0x0000000000000037
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.