/* This function is only available when the major and minor versions in the EfiShellProtocol are greater than or equal to 2 and 1, respectively. */
EFI_STATUS EFIAPI EfiShellGetGuidName(IN CONST EFI_GUID *Guid, OUT CONST CHAR16 **GuidName)
/* This function is only available when the major and minor versions in the EfiShellProtocol are greater than or equal to 2 and 1, respectively. */
EFI_STATUS EFIAPI EfiShellGetGuidName(IN CONST EFI_GUID *Guid, OUT CONST CHAR16 **GuidName)
{
  CHAR16  *Name;
  if ((Guid == NULL) || (GuidName == NULL)) {
    return (EFI_INVALID_PARAMETER);
  }
  Name = GetStringNameFromGuid (Guid, NULL);
  if ((Name == NULL) || (StrLen (Name) == 0)) {
    SHELL_FREE_NON_NULL (Name);
    return (EFI_NOT_FOUND);
  }
  *GuidName = AddBufferToFreeList (Name);
  return (EFI_SUCCESS);
}