]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUi.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Library / BootMaintenanceManagerUiLib / BootMaintenanceManagerCustomizedUi.h
1 /** @file
2 This library class defines a set of interfaces to customize Ui module
3
4 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #ifndef __CUSTOMIZED_UI_H__
10 #define __CUSTOMIZED_UI_H__
11
12 /**
13 Customize menus in the page.
14
15 @param[in] HiiHandle The HII Handle of the form to update.
16 @param[in] StartOpCodeHandle The context used to insert opcode.
17
18 **/
19 VOID
20 UiCustomizeBMMPage (
21 IN EFI_HII_HANDLE HiiHandle,
22 IN VOID *StartOpCodeHandle
23 );
24
25 /**
26 This function processes the results of changes in configuration.
27
28
29 @param HiiHandle Points to the hii handle for this formset.
30 @param Action Specifies the type of action taken by the browser.
31 @param QuestionId A unique value which is sent to the original exporting driver
32 so that it can identify the type of data to expect.
33 @param Type The type of value for the question.
34 @param Value A pointer to the data being sent to the original exporting driver.
35 @param ActionRequest On return, points to the action requested by the callback function.
36
37 @retval EFI_SUCCESS The callback successfully handled the action.
38 @retval EFI_OUT_OF_RESOURCES Not enough storage is available to hold the variable and its data.
39 @retval EFI_DEVICE_ERROR The variable could not be saved.
40 @retval EFI_UNSUPPORTED The specified Action is not supported by the callback.
41
42 **/
43 EFI_STATUS
44 UiBMMCallbackHandler (
45 IN EFI_HII_HANDLE HiiHandle,
46 IN EFI_BROWSER_ACTION Action,
47 IN EFI_QUESTION_ID QuestionId,
48 IN UINT8 Type,
49 IN EFI_IFR_TYPE_VALUE *Value,
50 OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest
51 );
52
53 #endif