MdeModulePkg[all]  0.98
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
BootLogoLib.h File Reference

Functions

EFI_STATUS EFIAPI BootLogoEnableLogo (VOID)
 
EFI_STATUS EFIAPI BootLogoDisableLogo (VOID)
 
EFI_STATUS EFIAPI BootLogoUpdateProgress (IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleForeground, IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleBackground, IN CHAR16 *Title, IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL ProgressColor, IN UINTN Progress, IN UINTN PreviousValue)
 

Detailed Description

This library is only intended to be used by PlatformBootManagerLib to show progress bar and LOGO.

Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Function Documentation

EFI_STATUS EFIAPI BootLogoDisableLogo ( VOID  )

Use SystemTable ConOut to turn on video based Simple Text Out consoles. The Simple Text Out screens will now be synced up with all non-video output devices.

Return values
EFI_SUCCESSUGA devices are back in text mode and synced up.
EFI_STATUS EFIAPI BootLogoEnableLogo ( VOID  )

Show LOGO returned from Edkii Platform Logo protocol on all consoles.

EFI_STATUS EFIAPI BootLogoUpdateProgress ( IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL  TitleForeground,
IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL  TitleBackground,
IN CHAR16 *  Title,
IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL  ProgressColor,
IN UINTN  Progress,
IN UINTN  PreviousValue 
)

Update progress bar with title above it. It only works in Graphics mode.

Parameters
TitleForegroundForeground color for Title.
TitleBackgroundBackground color for Title.
TitleTitle above progress bar.
ProgressColorProgress bar color.
ProgressProgress (0-100)
PreviousValueThe previous value of the progress.
Return values
EFI_STATUSSuccessly update the progress bar