TianoCore EDK2 master
|
#include <Protocol/FormBrowser2.h>
Go to the source code of this file.
Data Structures | |
struct | EFI_HII_VALUE |
struct | DISPLAY_QUESTION_OPTION |
struct | STATEMENT_ERROR_INFO |
struct | _FORM_DISPLAY_ENGINE_STATEMENT |
struct | BROWSER_HOT_KEY |
struct | _FORM_DISPLAY_ENGINE_FORM |
struct | USER_INPUT |
struct | EDKII_FORM_DISPLAY_ENGINE_PROTOCOL |
Macros | |
#define | EDKII_FORM_DISPLAY_ENGINE_PROTOCOL_GUID { 0x9bbe29e9, 0xfda1, 0x41ec, { 0xad, 0x52, 0x45, 0x22, 0x13, 0x74, 0x2d, 0x2e } } |
#define | BROWSER_ACTION_NONE BIT16 |
#define | BROWSER_ACTION_FORM_EXIT BIT17 |
#define | BROWSER_SUCCESS 0x0 |
#define | BROWSER_ERROR BIT31 |
#define | BROWSER_SUBMIT_FAIL BROWSER_ERROR | 0x01 |
#define | BROWSER_NO_SUBMIT_IF BROWSER_ERROR | 0x02 |
#define | BROWSER_FORM_NOT_FOUND BROWSER_ERROR | 0x03 |
#define | BROWSER_FORM_SUPPRESS BROWSER_ERROR | 0x04 |
#define | BROWSER_PROTOCOL_NOT_FOUND BROWSER_ERROR | 0x05 |
#define | BROWSER_INCONSISTENT_IF BROWSER_ERROR | 0x06 |
#define | BROWSER_WARNING_IF BROWSER_ERROR | 0x07 |
#define | BROWSER_SUBMIT_FAIL_NO_SUBMIT_IF BROWSER_ERROR | 0x08 |
#define | BROWSER_RECONNECT_REQUIRED BROWSER_ERROR | 0x09 |
#define | BROWSER_RECONNECT_FAIL BROWSER_ERROR | 0x0A |
#define | BROWSER_RECONNECT_SAVE_CHANGES BROWSER_ERROR | 0x0B |
#define | FORM_DISPLAY_ENGINE_STATEMENT_VERSION_1 0x10000 |
#define | FORM_DISPLAY_ENGINE_VERSION_1 0x10000 |
#define | DISPLAY_QUESTION_OPTION_SIGNATURE SIGNATURE_32 ('Q', 'O', 'P', 'T') |
#define | DISPLAY_QUESTION_OPTION_FROM_LINK(a) CR (a, DISPLAY_QUESTION_OPTION, Link, DISPLAY_QUESTION_OPTION_SIGNATURE) |
#define | STATEMENT_VALID 0x0 |
#define | STATEMENT_INVALID BIT31 |
#define | INCOSISTENT_IF_TRUE STATEMENT_INVALID | 0x01 |
#define | WARNING_IF_TRUE STATEMENT_INVALID | 0x02 |
#define | STRING_TOO_LONG STATEMENT_INVALID | 0x03 |
#define | FORM_DISPLAY_ENGINE_STATEMENT_SIGNATURE SIGNATURE_32 ('F', 'S', 'T', 'A') |
#define | HII_DISPLAY_NONE 0 |
#define | HII_DISPLAY_GRAYOUT BIT0 |
#define | HII_DISPLAY_LOCK BIT1 |
#define | HII_DISPLAY_READONLY BIT2 |
#define | HII_DISPLAY_MODAL BIT3 |
#define | HII_DISPLAY_SUPPRESS BIT4 |
#define | FORM_DISPLAY_ENGINE_STATEMENT_FROM_LINK(a) CR (a, FORM_DISPLAY_ENGINE_STATEMENT, DisplayLink, FORM_DISPLAY_ENGINE_STATEMENT_SIGNATURE) |
#define | BROWSER_HOT_KEY_SIGNATURE SIGNATURE_32 ('B', 'H', 'K', 'S') |
#define | BROWSER_HOT_KEY_FROM_LINK(a) CR (a, BROWSER_HOT_KEY, Link, BROWSER_HOT_KEY_SIGNATURE) |
#define | FORM_DISPLAY_ENGINE_FORM_SIGNATURE SIGNATURE_32 ('F', 'F', 'R', 'M') |
#define | FORM_DISPLAY_ENGINE_FORM_FROM_LINK(a) CR (a, FORM_DISPLAY_ENGINE_FORM, Link, FORM_DISPLAY_ENGINE_FORM_SIGNATURE) |
Typedefs | |
typedef struct _FORM_DISPLAY_ENGINE_STATEMENT | FORM_DISPLAY_ENGINE_STATEMENT |
typedef struct _FORM_DISPLAY_ENGINE_FORM | FORM_DISPLAY_ENGINE_FORM |
typedef 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) |
typedef EFI_STATUS(EFIAPI * | PASSWORD_CHECK) (IN FORM_DISPLAY_ENGINE_FORM *Form, IN FORM_DISPLAY_ENGINE_STATEMENT *Statement, IN EFI_STRING PasswordString OPTIONAL) |
typedef EFI_STATUS(EFIAPI * | FORM_DISPLAY) (IN FORM_DISPLAY_ENGINE_FORM *FormData, OUT USER_INPUT *UserInputData) |
typedef VOID(EFIAPI * | EXIT_DISPLAY) (VOID) |
typedef UINTN(EFIAPI * | CONFIRM_DATA_CHANGE) (VOID) |
Variables | |
EFI_GUID | gEdkiiFormDisplayEngineProtocolGuid |
FormDiplay protocol to show Form
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file DisplayProtocol.h.
#define BROWSER_ACTION_FORM_EXIT BIT17 |
Definition at line 24 of file DisplayProtocol.h.
#define BROWSER_ACTION_NONE BIT16 |
Definition at line 20 of file DisplayProtocol.h.
#define BROWSER_ERROR BIT31 |
Definition at line 27 of file DisplayProtocol.h.
#define BROWSER_FORM_NOT_FOUND BROWSER_ERROR | 0x03 |
Definition at line 30 of file DisplayProtocol.h.
#define BROWSER_FORM_SUPPRESS BROWSER_ERROR | 0x04 |
Definition at line 31 of file DisplayProtocol.h.
#define BROWSER_HOT_KEY_FROM_LINK | ( | a | ) | CR (a, BROWSER_HOT_KEY, Link, BROWSER_HOT_KEY_SIGNATURE) |
Definition at line 222 of file DisplayProtocol.h.
#define BROWSER_HOT_KEY_SIGNATURE SIGNATURE_32 ('B', 'H', 'K', 'S') |
Definition at line 204 of file DisplayProtocol.h.
#define BROWSER_INCONSISTENT_IF BROWSER_ERROR | 0x06 |
Definition at line 33 of file DisplayProtocol.h.
#define BROWSER_NO_SUBMIT_IF BROWSER_ERROR | 0x02 |
Definition at line 29 of file DisplayProtocol.h.
#define BROWSER_PROTOCOL_NOT_FOUND BROWSER_ERROR | 0x05 |
Definition at line 32 of file DisplayProtocol.h.
#define BROWSER_RECONNECT_FAIL BROWSER_ERROR | 0x0A |
Definition at line 37 of file DisplayProtocol.h.
#define BROWSER_RECONNECT_REQUIRED BROWSER_ERROR | 0x09 |
Definition at line 36 of file DisplayProtocol.h.
#define BROWSER_RECONNECT_SAVE_CHANGES BROWSER_ERROR | 0x0B |
Definition at line 38 of file DisplayProtocol.h.
#define BROWSER_SUBMIT_FAIL BROWSER_ERROR | 0x01 |
Definition at line 28 of file DisplayProtocol.h.
#define BROWSER_SUBMIT_FAIL_NO_SUBMIT_IF BROWSER_ERROR | 0x08 |
Definition at line 35 of file DisplayProtocol.h.
#define BROWSER_SUCCESS 0x0 |
Definition at line 26 of file DisplayProtocol.h.
#define BROWSER_WARNING_IF BROWSER_ERROR | 0x07 |
Definition at line 34 of file DisplayProtocol.h.
#define DISPLAY_QUESTION_OPTION_FROM_LINK | ( | a | ) | CR (a, DISPLAY_QUESTION_OPTION, Link, DISPLAY_QUESTION_OPTION_SIGNATURE) |
Definition at line 72 of file DisplayProtocol.h.
#define DISPLAY_QUESTION_OPTION_SIGNATURE SIGNATURE_32 ('Q', 'O', 'P', 'T') |
Definition at line 56 of file DisplayProtocol.h.
#define EDKII_FORM_DISPLAY_ENGINE_PROTOCOL_GUID { 0x9bbe29e9, 0xfda1, 0x41ec, { 0xad, 0x52, 0x45, 0x22, 0x13, 0x74, 0x2d, 0x2e } } |
Definition at line 14 of file DisplayProtocol.h.
#define FORM_DISPLAY_ENGINE_FORM_FROM_LINK | ( | a | ) | CR (a, FORM_DISPLAY_ENGINE_FORM, Link, FORM_DISPLAY_ENGINE_FORM_SIGNATURE) |
Definition at line 297 of file DisplayProtocol.h.
#define FORM_DISPLAY_ENGINE_FORM_SIGNATURE SIGNATURE_32 ('F', 'F', 'R', 'M') |
Definition at line 224 of file DisplayProtocol.h.
#define FORM_DISPLAY_ENGINE_STATEMENT_FROM_LINK | ( | a | ) | CR (a, FORM_DISPLAY_ENGINE_STATEMENT, DisplayLink, FORM_DISPLAY_ENGINE_STATEMENT_SIGNATURE) |
Definition at line 202 of file DisplayProtocol.h.
#define FORM_DISPLAY_ENGINE_STATEMENT_SIGNATURE SIGNATURE_32 ('F', 'S', 'T', 'A') |
Definition at line 135 of file DisplayProtocol.h.
#define FORM_DISPLAY_ENGINE_STATEMENT_VERSION_1 0x10000 |
Definition at line 40 of file DisplayProtocol.h.
#define FORM_DISPLAY_ENGINE_VERSION_1 0x10000 |
Definition at line 41 of file DisplayProtocol.h.
#define HII_DISPLAY_GRAYOUT BIT0 |
Definition at line 141 of file DisplayProtocol.h.
#define HII_DISPLAY_LOCK BIT1 |
Definition at line 142 of file DisplayProtocol.h.
#define HII_DISPLAY_MODAL BIT3 |
Definition at line 144 of file DisplayProtocol.h.
#define HII_DISPLAY_NONE 0 |
Definition at line 140 of file DisplayProtocol.h.
#define HII_DISPLAY_READONLY BIT2 |
Definition at line 143 of file DisplayProtocol.h.
#define HII_DISPLAY_SUPPRESS BIT4 |
Definition at line 145 of file DisplayProtocol.h.
#define INCOSISTENT_IF_TRUE STATEMENT_INVALID | 0x01 |
Definition at line 80 of file DisplayProtocol.h.
#define STATEMENT_INVALID BIT31 |
Definition at line 78 of file DisplayProtocol.h.
#define STATEMENT_VALID 0x0 |
Definition at line 77 of file DisplayProtocol.h.
#define STRING_TOO_LONG STATEMENT_INVALID | 0x03 |
Definition at line 82 of file DisplayProtocol.h.
#define WARNING_IF_TRUE STATEMENT_INVALID | 0x02 |
Definition at line 81 of file DisplayProtocol.h.
typedef UINTN(EFIAPI * CONFIRM_DATA_CHANGE) (VOID) |
Confirm how to handle the changed data.
Definition at line 340 of file DisplayProtocol.h.
typedef VOID(EFIAPI * EXIT_DISPLAY) (VOID) |
Exit Display and Clear Screen to the original state.
Definition at line 329 of file DisplayProtocol.h.
typedef EFI_STATUS(EFIAPI * FORM_DISPLAY) (IN FORM_DISPLAY_ENGINE_FORM *FormData, OUT USER_INPUT *UserInputData) |
Display one form, and return user input.
FormData | Form Data to be shown. |
UserInputData | User input data. |
EFI_SUCCESS | Form Data is shown, and user input is got. |
Definition at line 318 of file DisplayProtocol.h.
typedef struct _FORM_DISPLAY_ENGINE_FORM FORM_DISPLAY_ENGINE_FORM |
Definition at line 75 of file DisplayProtocol.h.
typedef struct _FORM_DISPLAY_ENGINE_STATEMENT FORM_DISPLAY_ENGINE_STATEMENT |
Definition at line 74 of file DisplayProtocol.h.
typedef EFI_STATUS(EFIAPI * PASSWORD_CHECK) (IN FORM_DISPLAY_ENGINE_FORM *Form, IN FORM_DISPLAY_ENGINE_STATEMENT *Statement, IN EFI_STRING PasswordString OPTIONAL) |
Perform Password check. Passwork may be encrypted by driver that requires the specific check.
Form | Form where Password Statement is in. |
Statement | Password statement |
PasswordString | Password string to be checked. It may be NULL. NULL means to restore password. "" string can be used to checked whether old password does exist. |
Definition at line 128 of file DisplayProtocol.h.
typedef 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) |
Perform value check for a question.
Form | Form where Statement is in. |
Statement | Value will check for it. |
Value | New value will be checked. |
Status | Value Status |
Definition at line 107 of file DisplayProtocol.h.