/* 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 EfiShellGetGuidFromName(IN CONST CHAR16 *GuidName, OUT EFI_GUID *Guid)
/* 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 EfiShellGetGuidFromName(IN CONST CHAR16 *GuidName, OUT EFI_GUID *Guid)
{
  EFI_GUID    *NewGuid;
  EFI_STATUS  Status;
  if ((Guid == NULL) || (GuidName == NULL)) {
    return (EFI_INVALID_PARAMETER);
  }
  Status = GetGuidFromStringName (GuidName, NULL, &NewGuid);
  if (!EFI_ERROR (Status)) {
    CopyGuid (Guid, NewGuid);
  }
  return (Status);
}