9#ifndef __DISPLAY_PROTOCOL_H__
10#define __DISPLAY_PROTOCOL_H__
14#define EDKII_FORM_DISPLAY_ENGINE_PROTOCOL_GUID \
15 { 0x9bbe29e9, 0xfda1, 0x41ec, { 0xad, 0x52, 0x45, 0x22, 0x13, 0x74, 0x2d, 0x2e } }
20#define BROWSER_ACTION_NONE BIT16
24#define BROWSER_ACTION_FORM_EXIT BIT17
26#define BROWSER_SUCCESS 0x0
27#define BROWSER_ERROR BIT31
28#define BROWSER_SUBMIT_FAIL BROWSER_ERROR | 0x01
29#define BROWSER_NO_SUBMIT_IF BROWSER_ERROR | 0x02
30#define BROWSER_FORM_NOT_FOUND BROWSER_ERROR | 0x03
31#define BROWSER_FORM_SUPPRESS BROWSER_ERROR | 0x04
32#define BROWSER_PROTOCOL_NOT_FOUND BROWSER_ERROR | 0x05
33#define BROWSER_INCONSISTENT_IF BROWSER_ERROR | 0x06
34#define BROWSER_WARNING_IF BROWSER_ERROR | 0x07
35#define BROWSER_SUBMIT_FAIL_NO_SUBMIT_IF BROWSER_ERROR | 0x08
36#define BROWSER_RECONNECT_REQUIRED BROWSER_ERROR | 0x09
37#define BROWSER_RECONNECT_FAIL BROWSER_ERROR | 0x0A
38#define BROWSER_RECONNECT_SAVE_CHANGES BROWSER_ERROR | 0x0B
40#define FORM_DISPLAY_ENGINE_STATEMENT_VERSION_1 0x10000
41#define FORM_DISPLAY_ENGINE_VERSION_1 0x10000
56#define DISPLAY_QUESTION_OPTION_SIGNATURE SIGNATURE_32 ('Q', 'O', 'P', 'T')
69 EFI_ANIMATION_ID AnimationId;
72#define DISPLAY_QUESTION_OPTION_FROM_LINK(a) CR (a, DISPLAY_QUESTION_OPTION, Link, DISPLAY_QUESTION_OPTION_SIGNATURE)
77#define STATEMENT_VALID 0x0
78#define STATEMENT_INVALID BIT31
80#define INCOSISTENT_IF_TRUE STATEMENT_INVALID | 0x01
81#define WARNING_IF_TRUE STATEMENT_INVALID | 0x02
82#define STRING_TOO_LONG STATEMENT_INVALID | 0x03
89 EFI_STRING_ID StringId;
135#define FORM_DISPLAY_ENGINE_STATEMENT_SIGNATURE SIGNATURE_32 ('F', 'S', 'T', 'A')
140#define HII_DISPLAY_NONE 0
141#define HII_DISPLAY_GRAYOUT BIT0
142#define HII_DISPLAY_LOCK BIT1
143#define HII_DISPLAY_READONLY BIT2
144#define HII_DISPLAY_MODAL BIT3
145#define HII_DISPLAY_SUPPRESS BIT4
170 BOOLEAN SettingChangedFlag;
198 EFI_IMAGE_ID ImageId;
199 EFI_ANIMATION_ID AnimationId;
202#define FORM_DISPLAY_ENGINE_STATEMENT_FROM_LINK(a) CR (a, FORM_DISPLAY_ENGINE_STATEMENT, DisplayLink, FORM_DISPLAY_ENGINE_STATEMENT_SIGNATURE)
204#define BROWSER_HOT_KEY_SIGNATURE SIGNATURE_32 ('B', 'H', 'K', 'S')
219 EFI_STRING HelpString;
222#define BROWSER_HOT_KEY_FROM_LINK(a) CR (a, BROWSER_HOT_KEY, Link, BROWSER_HOT_KEY_SIGNATURE)
224#define FORM_DISPLAY_ENGINE_FORM_SIGNATURE SIGNATURE_32 ('F', 'F', 'R', 'M')
257 EFI_STRING_ID FormTitle;
266 BOOLEAN SettingChangedFlag;
284 EFI_IMAGE_ID ImageId;
285 EFI_ANIMATION_ID AnimationId;
290 UINT32 BrowserStatus;
294 EFI_STRING ErrorString;
297#define FORM_DISPLAY_ENGINE_FORM_FROM_LINK(a) CR (a, FORM_DISPLAY_ENGINE_FORM, Link, FORM_DISPLAY_ENGINE_FORM_SIGNATURE)
351extern EFI_GUID gEdkiiFormDisplayEngineProtocolGuid;
UINTN EFIAPI ConfirmDataChange(VOID)
EFI_STATUS(EFIAPI * PASSWORD_CHECK)(IN FORM_DISPLAY_ENGINE_FORM *Form, IN FORM_DISPLAY_ENGINE_STATEMENT *Statement, IN EFI_STRING PasswordString OPTIONAL)
UINT32(EFIAPI * VALIDATE_QUESTION)(IN FORM_DISPLAY_ENGINE_FORM *Form, IN FORM_DISPLAY_ENGINE_STATEMENT *Statement, IN EFI_HII_VALUE *Value, OUT STATEMENT_ERROR_INFO *ErrorInfo)
VOID(EFIAPI * EXIT_DISPLAY)(VOID)
EFI_STATUS(EFIAPI * FORM_DISPLAY)(IN FORM_DISPLAY_ENGINE_FORM *FormData, OUT USER_INPUT *UserInputData)
UINTN(EFIAPI * CONFIRM_DATA_CHANGE)(VOID)