Specifications
Version 2.0
29
EFI_SHELL_PROTOCOL.GetFilePathFromDevicePath()
Summary
Converts a device path to a file system-style path.
Prototype
typedef
CHAR16 *
(EFIAPI *EFI_SHELL_GET_FILE_PATH_FROM_DEVICE_PATH) (
IN CONST EFI_DEVICE_PATH_PROTOCOL *Path
);
Parameters
Path
The pointer to the device path.
Description
This function converts a device path to a file system path by replacing part, or all, of
the device path with the file-system mapping. If there are more than one application
file system mappings, the one that most closely matches Path will be used.
Returned Value
The pointer of the null-terminated file path. The path is callee-allocated and should be freed by
the caller.










