TianoCore EDK2 master
Loading...
Searching...
No Matches
HiiPopup.h File Reference

Go to the source code of this file.

Data Structures

struct  _EFI_HII_POPUP_PROTOCOL
 

Macros

#define EFI_HII_POPUP_PROTOCOL_GUID    {0x4311edc0, 0x6054, 0x46d4, {0x9e, 0x40, 0x89, 0x3e, 0xa9, 0x52, 0xfc, 0xcc}}
 
#define EFI_HII_POPUP_PROTOCOL_REVISION   1
 

Typedefs

typedef struct _EFI_HII_POPUP_PROTOCOL EFI_HII_POPUP_PROTOCOL
 
typedef EFI_STATUS(EFIAPI * EFI_HII_CREATE_POPUP) (IN EFI_HII_POPUP_PROTOCOL *This, IN EFI_HII_POPUP_STYLE PopupStyle, IN EFI_HII_POPUP_TYPE PopupType, IN EFI_HII_HANDLE HiiHandle, IN EFI_STRING_ID Message, OUT EFI_HII_POPUP_SELECTION *UserSelection OPTIONAL)
 

Enumerations

enum  EFI_HII_POPUP_STYLE { EfiHiiPopupStyleInfo , EfiHiiPopupStyleWarning , EfiHiiPopupStyleError }
 
enum  EFI_HII_POPUP_TYPE { EfiHiiPopupTypeOk , EfiHiiPopupTypeOkCancel , EfiHiiPopupTypeYesNo , EfiHiiPopupTypeYesNoCancel }
 
enum  EFI_HII_POPUP_SELECTION { EfiHiiPopupSelectionOk , EfiHiiPopupSelectionCancel , EfiHiiPopupSelectionYes , EfiHiiPopupSelectionNo }
 

Variables

EFI_GUID gEfiHiiPopupProtocolGuid
 

Detailed Description

This protocol provides services to display a popup window. The protocol is typically produced by the forms browser and consumed by a driver callback handler.

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

Revision Reference:
This Protocol was introduced in UEFI Specification 2.7.

Definition in file HiiPopup.h.

Macro Definition Documentation

◆ EFI_HII_POPUP_PROTOCOL_GUID

#define EFI_HII_POPUP_PROTOCOL_GUID    {0x4311edc0, 0x6054, 0x46d4, {0x9e, 0x40, 0x89, 0x3e, 0xa9, 0x52, 0xfc, 0xcc}}

Definition at line 16 of file HiiPopup.h.

◆ EFI_HII_POPUP_PROTOCOL_REVISION

#define EFI_HII_POPUP_PROTOCOL_REVISION   1

Definition at line 19 of file HiiPopup.h.

Typedef Documentation

◆ EFI_HII_CREATE_POPUP

typedef EFI_STATUS(EFIAPI * EFI_HII_CREATE_POPUP) (IN EFI_HII_POPUP_PROTOCOL *This, IN EFI_HII_POPUP_STYLE PopupStyle, IN EFI_HII_POPUP_TYPE PopupType, IN EFI_HII_HANDLE HiiHandle, IN EFI_STRING_ID Message, OUT EFI_HII_POPUP_SELECTION *UserSelection OPTIONAL)

Displays a popup window.

Parameters
ThisA pointer to the EFI_HII_POPUP_PROTOCOL instance.
PopupStylePopup style to use.
PopupTypeType of the popup to display.
HiiHandleHII handle of the string pack containing Message
MessageA message to display in the popup box.
UserSelectionUser selection.
Return values
EFI_SUCCESSThe popup box was successfully displayed.
EFI_INVALID_PARAMETERHiiHandle and Message do not define a valid HII string.
EFI_INVALID_PARAMETERPopupType is not one of the values defined by this specification.
EFI_OUT_OF_RESOURCESThere are not enough resources available to display the popup box.

Definition at line 60 of file HiiPopup.h.

◆ EFI_HII_POPUP_PROTOCOL

Definition at line 21 of file HiiPopup.h.

Enumeration Type Documentation

◆ EFI_HII_POPUP_SELECTION

enum EFI_HII_POPUP_SELECTION

Definition at line 36 of file HiiPopup.h.

◆ EFI_HII_POPUP_STYLE

enum EFI_HII_POPUP_STYLE

Definition at line 23 of file HiiPopup.h.

◆ EFI_HII_POPUP_TYPE

enum EFI_HII_POPUP_TYPE

Definition at line 29 of file HiiPopup.h.