/* Check if it's a Device Path pointing to BootManagerMenuApp. */
BOOLEAN IsBootManagerMenuAppFilePath(EFI_DEVICE_PATH_PROTOCOL *DevicePath)
/* Check if it's a Device Path pointing to BootManagerMenuApp. */
BOOLEAN IsBootManagerMenuAppFilePath(EFI_DEVICE_PATH_PROTOCOL *DevicePath)
{
  EFI_HANDLE  FvHandle;
  VOID        *NameGuid;
  EFI_STATUS  Status;
  Status = gBS->LocateDevicePath (&gEfiFirmwareVolume2ProtocolGuid, &DevicePath, &FvHandle);
  if (!EFI_ERROR (Status)) {
    NameGuid = EfiGetNameGuidFromFwVolDevicePathNode ((CONST MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *)DevicePath);
    if (NameGuid != NULL) {
      return CompareGuid (NameGuid, &mBootMenuFile);
    }
  }
  return FALSE;
}