TianoCore EDK2 master
Loading...
Searching...
No Matches
HiiPopup.h
Go to the documentation of this file.
1
13#ifndef __HII_POPUP_H__
14#define __HII_POPUP_H__
15
16#define EFI_HII_POPUP_PROTOCOL_GUID \
17 {0x4311edc0, 0x6054, 0x46d4, {0x9e, 0x40, 0x89, 0x3e, 0xa9, 0x52, 0xfc, 0xcc}}
18
19#define EFI_HII_POPUP_PROTOCOL_REVISION 1
20
22
23typedef enum {
24 EfiHiiPopupStyleInfo,
25 EfiHiiPopupStyleWarning,
26 EfiHiiPopupStyleError
27} EFI_HII_POPUP_STYLE;
28
29typedef enum {
30 EfiHiiPopupTypeOk,
31 EfiHiiPopupTypeOkCancel,
32 EfiHiiPopupTypeYesNo,
33 EfiHiiPopupTypeYesNoCancel
34} EFI_HII_POPUP_TYPE;
35
36typedef enum {
37 EfiHiiPopupSelectionOk,
38 EfiHiiPopupSelectionCancel,
39 EfiHiiPopupSelectionYes,
40 EfiHiiPopupSelectionNo
41} EFI_HII_POPUP_SELECTION;
42
59typedef
61(EFIAPI *EFI_HII_CREATE_POPUP)(
63 IN EFI_HII_POPUP_STYLE PopupStyle,
64 IN EFI_HII_POPUP_TYPE PopupType,
65 IN EFI_HII_HANDLE HiiHandle,
66 IN EFI_STRING_ID Message,
67 OUT EFI_HII_POPUP_SELECTION *UserSelection OPTIONAL
68 );
69
71 UINT64 Revision;
72 EFI_HII_CREATE_POPUP CreatePopup;
73};
74
75extern EFI_GUID gEfiHiiPopupProtocolGuid;
76
77#endif
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)
Definition: HiiPopup.h:61
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HII_HANDLE
Definition: Base.h:213