]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/SetupBrowserDxe/Setup.h
Add new "Modal form" opcode, also add sample code to use it.
[mirror_edk2.git] / MdeModulePkg / Universal / SetupBrowserDxe / Setup.h
index d76569e8ec4fcb69c29e831f9c9ea338f2af9daa..cb09fee34485d766774180731ba2ffd632a3a8cf 100644 (file)
@@ -426,6 +426,8 @@ typedef struct {
 \r
   EFI_IMAGE_ID      ImageId;\r
 \r
+  BOOLEAN           ModalForm;            // Whether this is a modal form.\r
+\r
   BOOLEAN           NvUpdateRequired;     // Whether this form has NV update request.\r
 \r
   LIST_ENTRY        ExpressionListHead;   // List of Expressions (FORM_EXPRESSION)\r
@@ -717,10 +719,13 @@ DestroyFormSet (
 /**\r
   This function displays the page frame.\r
 \r
+  @param  Selection              Selection contains the information about \r
+                                 the Selection, form and formset to be displayed.\r
+                                 Selection action may be updated in retrieve callback.\r
 **/\r
 VOID\r
 DisplayPageFrame (\r
-  VOID\r
+  IN UI_MENU_SELECTION    *Selection\r
   );\r
 \r
 /**\r