Ignore UEFI OPEN/CLOSE Action for FrameworkCallback

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9427 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2009-11-13 10:05:52 +00:00
parent 16019c8582
commit 880ea0e223
1 changed files with 7 additions and 0 deletions

View File

@ -1006,6 +1006,13 @@ ThunkCallback (
EFI_INPUT_KEY Key;
BOOLEAN NvMapAllocated;
if ((Action == EFI_BROWSER_ACTION_FORM_OPEN) || (Action == EFI_BROWSER_ACTION_FORM_CLOSE)) {
//
// Ignore UEFI OPEN/CLOSE Action for FrameworkCallback
//
return EFI_SUCCESS;
}
ASSERT (This != NULL);
ASSERT (Value != NULL);
ASSERT (ActionRequest != NULL);