TianoCore EDK2 master
Loading...
Searching...
No Matches
FormBrowser2.h
Go to the documentation of this file.
1
12#ifndef __EFI_FORM_BROWSER2_H__
13#define __EFI_FORM_BROWSER2_H__
14
16
17#define EFI_FORM_BROWSER2_PROTOCOL_GUID \
18 {0xb9d4c360, 0xbcfb, 0x4f9b, {0x92, 0x98, 0x53, 0xc1, 0x36, 0x98, 0x22, 0x58 }}
19
21
40typedef struct {
41 UINTN LeftColumn;
42 UINTN RightColumn;
43 UINTN TopRow;
44 UINTN BottomRow;
46
47typedef UINTN EFI_BROWSER_ACTION_REQUEST;
48
49#define EFI_BROWSER_ACTION_REQUEST_NONE 0
50#define EFI_BROWSER_ACTION_REQUEST_RESET 1
51#define EFI_BROWSER_ACTION_REQUEST_SUBMIT 2
52#define EFI_BROWSER_ACTION_REQUEST_EXIT 3
53#define EFI_BROWSER_ACTION_REQUEST_FORM_SUBMIT_EXIT 4
54#define EFI_BROWSER_ACTION_REQUEST_FORM_DISCARD_EXIT 5
55#define EFI_BROWSER_ACTION_REQUEST_FORM_APPLY 6
56#define EFI_BROWSER_ACTION_REQUEST_FORM_DISCARD 7
57#define EFI_BROWSER_ACTION_REQUEST_RECONNECT 8
58#define EFI_BROWSER_ACTION_REQUEST_QUESTION_APPLY 9
59
96typedef
98(EFIAPI *EFI_SEND_FORM2)(
100 IN EFI_HII_HANDLE *Handle,
101 IN UINTN HandleCount,
102 IN EFI_GUID *FormSetGuid OPTIONAL,
103 IN EFI_FORM_ID FormId OPTIONAL,
104 IN CONST EFI_SCREEN_DESCRIPTOR *ScreenDimensions OPTIONAL,
105 OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest OPTIONAL
106 );
107
150typedef
152(EFIAPI *EFI_BROWSER_CALLBACK2)(
154 IN OUT UINTN *ResultsDataSize,
155 IN OUT EFI_STRING ResultsData,
156 IN CONST BOOLEAN RetrieveData,
157 IN CONST EFI_GUID *VariableGuid OPTIONAL,
158 IN CONST CHAR16 *VariableName OPTIONAL
159 );
160
166 EFI_SEND_FORM2 SendForm;
167 EFI_BROWSER_CALLBACK2 BrowserCallback;
168};
169
170extern EFI_GUID gEfiFormBrowser2ProtocolGuid;
171
172#endif
UINT64 UINTN
EFI_STATUS(EFIAPI * EFI_SEND_FORM2)(IN CONST EFI_FORM_BROWSER2_PROTOCOL *This, IN EFI_HII_HANDLE *Handle, IN UINTN HandleCount, IN EFI_GUID *FormSetGuid OPTIONAL, IN EFI_FORM_ID FormId OPTIONAL, IN CONST EFI_SCREEN_DESCRIPTOR *ScreenDimensions OPTIONAL, OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest OPTIONAL)
Definition: FormBrowser2.h:98
EFI_STATUS(EFIAPI * EFI_BROWSER_CALLBACK2)(IN CONST EFI_FORM_BROWSER2_PROTOCOL *This, IN OUT UINTN *ResultsDataSize, IN OUT EFI_STRING ResultsData, IN CONST BOOLEAN RetrieveData, IN CONST EFI_GUID *VariableGuid OPTIONAL, IN CONST CHAR16 *VariableName OPTIONAL)
Definition: FormBrowser2.h:152
#define CONST
Definition: Base.h:259
#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