MdeModulePkg[all]
0.98
|
Data Structures | |
struct | _EDKII_BOOT_LOGO2_PROTOCOL |
Macros | |
#define | EDKII_BOOT_LOGO2_PROTOCOL_GUID |
Typedefs | |
typedef struct _EDKII_BOOT_LOGO2_PROTOCOL | EDKII_BOOT_LOGO2_PROTOCOL |
typedef EFI_STATUS(EFIAPI * | EDKII_SET_BOOT_LOGO2 )(IN EDKII_BOOT_LOGO2_PROTOCOL *This, IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer, IN UINTN DestinationX, IN UINTN DestinationY, IN UINTN Width, IN UINTN Height) |
typedef EFI_STATUS(EFIAPI * | EDKII_GET_BOOT_LOGO2 )(IN EDKII_BOOT_LOGO2_PROTOCOL *This, OUT EFI_GRAPHICS_OUTPUT_BLT_PIXEL **BltBuffer, OUT UINTN *DestinationX, OUT UINTN *DestinationY, OUT UINTN *Width, OUT UINTN *Height) |
Variables | |
EFI_GUID | gEdkiiBootLogo2ProtocolGuid |
Boot Logo 2 Protocol is used to convey information of Logo dispayed during boot.
The Boot Logo 2 Protocol is a replacement for the Boot Logo Protocol. If a platform produces both the Boot Logo 2 Protocol and the Boot Logo Protocol then the Boot Logo 2 Protocol must be used instead of the Boot Logo Protocol.
Copyright (c) 2016, Microsoft Corporation Copyright (c) 2018, Intel Corporation. All rights reserved.
All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent
#define EDKII_BOOT_LOGO2_PROTOCOL_GUID |
typedef struct _EDKII_BOOT_LOGO2_PROTOCOL EDKII_BOOT_LOGO2_PROTOCOL |
typedef EFI_STATUS(EFIAPI * EDKII_GET_BOOT_LOGO2)(IN EDKII_BOOT_LOGO2_PROTOCOL *This, OUT EFI_GRAPHICS_OUTPUT_BLT_PIXEL **BltBuffer, OUT UINTN *DestinationX, OUT UINTN *DestinationY, OUT UINTN *Width, OUT UINTN *Height) |
Get the location of the boot logo on the screen.
[in] | This | The pointer to the Boot Logo Protocol 2 instance |
[out] | BltBuffer | Returns pointer to the GOP BLT buffer that was previously registered with SetBootLogo2(). The buffer returned must not be modified or freed. |
[out] | DestinationX | Returns the X start position of the GOP BLT buffer that was previously registered with SetBootLogo2(). |
[out] | DestinationY | Returns the Y start position of the GOP BLT buffer that was previously registered with SetBootLogo2(). |
[out] | Width | Returns the width of the GOP BLT buffer that was previously registered with SetBootLogo2(). |
[out] | Height | Returns the height of the GOP BLT buffer that was previously registered with SetBootLogo2(). |
EFI_SUCCESS | The location of the boot logo was returned. |
EFI_NOT_READY | The boot logo has not been set. |
EFI_INVALID_PARAMETER | BltBuffer is NULL. |
EFI_INVALID_PARAMETER | DestinationX is NULL. |
EFI_INVALID_PARAMETER | DestinationY is NULL. |
EFI_INVALID_PARAMETER | Width is NULL. |
EFI_INVALID_PARAMETER | Height is NULL. |
typedef EFI_STATUS(EFIAPI * EDKII_SET_BOOT_LOGO2)(IN EDKII_BOOT_LOGO2_PROTOCOL *This, IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer, IN UINTN DestinationX, IN UINTN DestinationY, IN UINTN Width, IN UINTN Height) |
Update information of logo image drawn on screen.
[in] | This | The pointer to the Boot Logo protocol 2 instance. |
[in] | BltBuffer | The BLT buffer for logo drawn on screen. If BltBuffer is set to NULL, it indicates that logo image is no longer on the screen. |
[in] | DestinationX | X coordinate of destination for the BltBuffer. |
[in] | DestinationY | Y coordinate of destination for the BltBuffer. |
[in] | Width | Width of rectangle in BltBuffer in pixels. |
[in] | Height | Hight of rectangle in BltBuffer in pixels. |
EFI_SUCCESS | The boot logo information was updated. |
EFI_INVALID_PARAMETER | One of the parameters has an invalid value. |
EFI_OUT_OF_RESOURCES | The logo information was not updated due to insufficient memory resources. |
EFI_GUID gEdkiiBootLogo2ProtocolGuid |