]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr
MdeModulePkg/DriverSampleDxe: Add a sample case
[mirror_edk2.git] / MdeModulePkg / Universal / DriverSampleDxe / Vfr.vfr
index d1ce68dfb2d30f5ce057f25e1be0cab6a5edb8db..6e7b96bd8beeda446a4a0da4b4775ba7043f182c 100644 (file)
@@ -2,7 +2,7 @@
 //\r
 //    Sample Setup formset.\r
 //\r
-//  Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r
+//  Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>\r
 //  This program and the accompanying materials\r
 //  are licensed and made available under the terms and conditions of the BSD License\r
 //  which accompanies this distribution.  The full text of the license may be found at\r
@@ -434,6 +434,17 @@ formset
             step    = 1,\r
             default = 18,\r
     endnumeric;\r
+\r
+    orderedlist\r
+        varid       = MyIfrNVData.GetDefaultValueFromCallBackForOrderedList,\r
+        questionid  = 0x1252,\r
+        prompt      = STRING_TOKEN(STR_DEFAULT_VALUE_FROM_CALLBACK_PROMPT),\r
+        help        = STRING_TOKEN(STR_DEFAULT_VALUE_FROM_CALLBACK_HELP),\r
+        flags       = INTERACTIVE,\r
+        option text = STRING_TOKEN(STR_ONE_OF_TEXT1), value = 1, flags = 0;\r
+        option text = STRING_TOKEN(STR_ONE_OF_TEXT2), value = 2, flags = 0;\r
+        option text = STRING_TOKEN(STR_ONE_OF_TEXT3), value = 3, flags = 0;\r
+    endlist;\r
         \r
     resetbutton\r
       defaultstore = MyStandardDefault,\r