summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/DriverSampleDxe
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-08 07:27:39 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-08 07:27:39 +0000
commitb00964a9992deedb135ff24d1b9618c97f93687c (patch)
treec0c6302073cd1f2803ae6c9f59ab597f267beaa5 /MdeModulePkg/Universal/DriverSampleDxe
parent26a65e5c8075106b00b03fea3abd4f1690abcdf1 (diff)
downloadedk2-platforms-b00964a9992deedb135ff24d1b9618c97f93687c.tar.xz
Add new "Modal form" opcode, also add sample code to use it.
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11764 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/DriverSampleDxe')
-rw-r--r--MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c2
-rw-r--r--MdeModulePkg/Universal/DriverSampleDxe/VfrStrings.unibin52710 -> 54756 bytes
2 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c b/MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c
index 9f78db2854..021fe61129 100644
--- a/MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c
+++ b/MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c
@@ -1502,6 +1502,7 @@ DriverCallback (
break;
case 0x1241:
+ case 0x1246:
//
// User press "Submit current form and Exit now", request Browser to submit current form and exit
//
@@ -1523,6 +1524,7 @@ DriverCallback (
break;
case 0x1244:
+ case 0x1245:
//
// User press "Discard current form and Exit now", request Browser to discard the uncommitted data and exit.
//
diff --git a/MdeModulePkg/Universal/DriverSampleDxe/VfrStrings.uni b/MdeModulePkg/Universal/DriverSampleDxe/VfrStrings.uni
index 8bd34469a2..d0aa852663 100644
--- a/MdeModulePkg/Universal/DriverSampleDxe/VfrStrings.uni
+++ b/MdeModulePkg/Universal/DriverSampleDxe/VfrStrings.uni
Binary files differ