Related Definitions
//*******************************************************
// Open Modes
//*******************************************************
#define EFI_FILE_MODE_READ
#define EFI_FILE_MODE_WRITE
#define EFI_FILE_MODE_CREATE
//*******************************************************
// File Attributes
//*******************************************************
#define EFI_FILE_READ_ONLY
#define EFI_FILE_HIDDEN
#define EFI_FILE_SYSTEM
#define EFI_FILE_RESERVED
#define EFI_FILE_DIRECTORY
#define EFI_FILE_ARCHIVE
#define EFI_FILE_VALID_ATTR
Description
The Open()function opens the file or directory referred to by
of
and returns a NewHandle. The
This
"\"
"
"
.
"
"
..
If
EFI_FILE_MODE_CREATE
of
does not refer to a directory or if the file already exists, the operation fails.
FileName
If the medium of the device changes, all accesses (including the File handle) will result in
EFI_MEDIA_CHANGED. To access the new medium, the volume must be re-opened.
Version 1.02
FileName
If the filename starts with a "\" the relative location is the root directory
that
residues on; otherwise "\" separates name components. Each
This
name component is opened in turn, and the handle to the last file opened
is returned.
Opens the current location.
Opens the parent directory for the current location. If the location is the
root directory the request will return an error, as there is no parent
directory for the root directory.
is set, then the file is created in the directory. If the final location
12/12/00
File System Protocol
0x0000000000000001
0x0000000000000002
0x8000000000000000
0x0000000000000001
0x0000000000000002
0x0000000000000004
0x0000000000000008
0x0000000000000010
0x0000000000000020
0x0000000000000037
relative to the location
FileName
may include the following path modifiers:
193
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?