Specifications
50 Version 2.0
EFI_SHELL_PROTOCOL.SetMap()
Summary
Changes a shell command alias.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_SHELL_SET_MAP)(
IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath,
IN CONST CHAR16 *Mapping
);
Parameters
DevicePath
Points to the device path. If this is NULL and Mapping points to a valid mapping,
then the mapping will be deleted.
Mapping
Points to the null-terminated mapping for the device path.
Description
This function creates a mapping for a device path.
Return Value
EFI_SUCCESS Mapping created or deleted successfully.
EFI_NO_MAPPING There is no handle that corresponds exactly to DevicePath. See the
boot service function LocateDevicePath().
EFI_ACCESS_DENIED The mapping is a built-in alias.










