Specifications
Version 2.0
39
EFI_SHELL_PROTOCOL.OpenFileList()
Summary
Opens the files that match the path specified.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_SHELL_OPEN_FILE_LIST) (
IN CHAR16 *Path,
IN UINT64 OpenMode,
IN OUT EFI_SHELL_FILE_INFO **FileList
);
Parameters
Path
A pointer to the path string.
OpenMode
Specifies the mode used to open each file, EFI_FILE_MODE_READ or
EFI_FILE_MODE_WRITE.
FileList
Points to the start of a list of files opened.
Description
This function opens all of the files specified by Path. Wildcards are processed
according to the rules specified in 3.7.1. Each matching file has an
E
FI_SHELL_FILE_INFO structure created in a linked list.
Related Definitions
typedef struct _EFI_LIST_ENTRY {
struct _EFI_LIST_ENTRY *Flink;
struct _EFI_LIST_ENTRY *Blink;
} EFI_LIST_ENTRY;
typedef struct {
EFI_LIST_ENTRY Link;
EFI_STATUS Status;
CONST CHAR16 *FullName;
CONST CHAR16 *FileName
EFI_FILE_HANDLE Handle;
EFI_FILE_INFO *Info;
} EFI_SHELL_FILE_INFO;
Link
Points to the next and previous entries in the file list. If NULL, then no more files.
Status
The status returned when calling OpenFile() for the entry in the file list.










