Specifications

Version 2.0
19
EFI_SHELL_PROTOCOL.FindFilesInDir()
Summary
Find all files in a specified directory.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_SHELL_FIND_FILES_IN_DIR)(
IN EFI_FILE_HANDLE FileDirHandle,
OUT EFI_SHELL_FILE_INFO **FileList
);
Parameters
FileDirHandle
Handle of the directory to search.
FileList
On return, points to the list of files in the directory or NULL if there are no files in
the directory.
Status Codes Returned
EFI_SUCCESS File information was returned successfully.
EFI_VOLUME_CORRUPTED The file system structures have been corrupted.
EFI_DEVICE_ERROR The device reported an error.
EFI_NO_MEDIA The device media is not present.