MdeModulePkg/DriverSampleDxe: EFI_BROWSER_ACTION_REQUEST_QUESTION_APPLY
REF: UEFI_Spec_2_10_Aug29.pdf page 1695. In 35.5.4 EFI_HII_CONFIG_ACCESS_PROTOCOL.CallBack(): If the callback function returns with the ActionRequest set to _QUESTION_APPLY, then the Forms Browser will write the current modified question value on the selected form to storage. Update the DriverSampleDxe, add a new question "Question apply test". Signed-off-by: Ming Tan <ming.tan@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
@@ -513,6 +513,16 @@ formset
|
||||
default = 18,
|
||||
endnumeric;
|
||||
|
||||
numeric varid = MyIfrNVData.QuestionApply,
|
||||
questionid = 0x1253,
|
||||
prompt = STRING_TOKEN(STR_QUESTION_APPLY_TEST_PROMPT),
|
||||
help = STRING_TOKEN(STR_QUESTION_APPLY_TEST_HELP),
|
||||
flags = INTERACTIVE,
|
||||
minimum = 0,
|
||||
maximum = 255,
|
||||
default = 19,
|
||||
endnumeric;
|
||||
|
||||
text
|
||||
help = STRING_TOKEN(STR_POPUP_TEST_HELP),
|
||||
text = STRING_TOKEN(STR_POPUP_TEST_PROMPT),
|
||||
|
Reference in New Issue
Block a user