When the parameter is unsupported or invalid,
should exit the function.
Cc: Qiu Shumin <shumin.qiu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Qiu Shumin <shumin.qiu@intel.com>
// Do nothing for other UEFI Action. Only do call back when data is changed.\r
//\r
*Status = EFI_UNSUPPORTED;\r
// Do nothing for other UEFI Action. Only do call back when data is changed.\r
//\r
*Status = EFI_UNSUPPORTED;\r
}\r
\r
if (Action == EFI_BROWSER_ACTION_CHANGED) {\r
if ((Value == NULL) || (ActionRequest == NULL)) {\r
*Status = EFI_INVALID_PARAMETER;\r
}\r
\r
if (Action == EFI_BROWSER_ACTION_CHANGED) {\r
if ((Value == NULL) || (ActionRequest == NULL)) {\r
*Status = EFI_INVALID_PARAMETER;\r
}\r
\r
*Status = EFI_SUCCESS;\r
}\r
\r
*Status = EFI_SUCCESS;\r