diff options
author | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-10-31 03:33:55 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-10-31 03:33:55 +0000 |
commit | b2e444aaf7adcf97a52303f6785336ea19312729 (patch) | |
tree | f1175f218d68bbd479f1578836b2836f170e4952 /MdeModulePkg/Universal/SetupBrowserDxe/Ui.h | |
parent | 50bdaa059217764a053da2fd234f04bef39db826 (diff) | |
download | edk2-platforms-b2e444aaf7adcf97a52303f6785336ea19312729.tar.xz |
When browser was requested to go to another formset, it also needs to update the hiihandle in Selection structure. If not update this handle, later when call function GetIfrBinaryData to get binary ifr data will return failed.
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@12607 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe/Ui.h')
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Ui.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h index df5a22fe71..f8797725e9 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h @@ -160,6 +160,7 @@ struct _UI_MENU_LIST { UINTN Signature;
LIST_ENTRY Link;
+ EFI_HII_HANDLE HiiHandle;
EFI_GUID FormSetGuid;
UINT16 FormId;
UINT16 QuestionId;
@@ -233,6 +234,7 @@ UiFreeMenu ( of the given parent menu.
@param Parent The parent of menu to be added.
+ @param HiiHandle Hii handle related to this formset.
@param FormSetGuid The Formset Guid of menu to be added.
@param FormId The Form ID of menu to be added.
@@ -242,6 +244,7 @@ UiFreeMenu ( UI_MENU_LIST *
UiAddMenuList (
IN OUT UI_MENU_LIST *Parent,
+ IN EFI_HII_HANDLE HiiHandle,
IN EFI_GUID *FormSetGuid,
IN UINT16 FormId
);
@@ -250,6 +253,7 @@ UiAddMenuList ( Search Menu with given FormId in the parent menu and all its child menus.
@param Parent The parent of menu to search.
+ @param FormSetGuid The Formset GUID of the menu to search.
@param FormId The Form ID of menu to search.
@return A pointer to menu found or NULL if not found.
@@ -258,6 +262,7 @@ UiAddMenuList ( UI_MENU_LIST *
UiFindChildMenuList (
IN UI_MENU_LIST *Parent,
+ IN EFI_GUID *FormSetGuid,
IN UINT16 FormId
);
|