MdePkg[all]  1.08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
HiiPopup.h File Reference

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 IN EFI_HII_POPUP_STYLE PopupStyle
 
typedef IN EFI_HII_POPUP_STYLE
IN EFI_HII_POPUP_TYPE 
PopupType
 
typedef IN EFI_HII_POPUP_STYLE
IN EFI_HII_POPUP_TYPE IN
EFI_HII_HANDLE 
HiiHandle
 
typedef IN EFI_HII_POPUP_STYLE
IN EFI_HII_POPUP_TYPE IN
EFI_HII_HANDLE IN
EFI_STRING_ID 
Message
 
typedef IN EFI_HII_POPUP_STYLE
IN EFI_HII_POPUP_TYPE IN
EFI_HII_HANDLE IN
EFI_STRING_ID OUT
EFI_HII_POPUP_SELECTION
UserSelection
 

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 }
 

Functions

typedef EFI_STATUS (EFIAPI *EFI_HII_CREATE_POPUP)(IN EFI_HII_POPUP_PROTOCOL *This
 

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.

Macro Definition Documentation

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

Typedef Documentation

Enumeration Type Documentation

Enumerator
EfiHiiPopupSelectionOk 
EfiHiiPopupSelectionCancel 
EfiHiiPopupSelectionYes 
EfiHiiPopupSelectionNo 
Enumerator
EfiHiiPopupStyleInfo 
EfiHiiPopupStyleWarning 
EfiHiiPopupStyleError 
Enumerator
EfiHiiPopupTypeOk 
EfiHiiPopupTypeOkCancel 
EfiHiiPopupTypeYesNo 
EfiHiiPopupTypeYesNoCancel 

Function Documentation

typedef EFI_STATUS ( EFIAPI EFI_HII_CREATE_POPUP)

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.

Variable Documentation

EFI_GUID gEfiHiiPopupProtocolGuid