Specifications
42 Version 2.0
EFI_SHELL_PROTOCOL.OpenRootByHandle()
Summary
Opens the root directory of a device on a handle
Prototype
typedef
EFI_STATUS
(EFIAPI EFI_SHELL_OPEN_ROOT_BY_HANDLE)(
IN EFI_HANDLE DeviceHandle,
OUT EFI_FILE_HANDLE *FileHandle
);
Parameters
DeviceHandle
The handle of the device that contains the volume.
FileHandle
On exit, points to the file handle corresponding to the root directory on the
device.
Description
This function opens the root directory of a device and returns a file handle to it.
Status Codes Returned
EFI_SUCCESS Root opened successfully.
EFI_NOT_FOUND EFI_SIMPLE_FILE_SYSTEM could not be found or the root directory
could not be opened.
EFI_VOLUME_CORRUPTED The data structures in the volume were corrupted.
EFI_DEVICE_ERROR The device had an error










