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 /** 14 Customize menus in the page. 15 16 @param[in] HiiHandle The HII Handle of the form to update. 17 @param[in] StartOpCodeHandle The context used to insert opcode. 18 19 **/ 20 VOID 21 UiCustomizeBMMPage ( 22 IN EFI_HII_HANDLE HiiHandle, 23 IN VOID *StartOpCodeHandle 24 ); 25 26 /** 27 This function processes the results of changes in configuration. 28 29 30 @param HiiHandle Points to the hii handle for this formset. 31 @param Action Specifies the type of action taken by the browser. 32 @param QuestionId A unique value which is sent to the original exporting driver 33 so that it can identify the type of data to expect. 34 @param Type The type of value for the question. 35 @param Value A pointer to the data being sent to the original exporting driver. 36 @param ActionRequest On return, points to the action requested by the callback function. 37 38 @retval EFI_SUCCESS The callback successfully handled the action. 39 @retval EFI_OUT_OF_RESOURCES Not enough storage is available to hold the variable and its data. 40 @retval EFI_DEVICE_ERROR The variable could not be saved. 41 @retval EFI_UNSUPPORTED The specified Action is not supported by the callback. 42 43 **/ 44 EFI_STATUS 45 UiBMMCallbackHandler ( 46 IN EFI_HII_HANDLE HiiHandle, 47 IN EFI_BROWSER_ACTION Action, 48 IN EFI_QUESTION_ID QuestionId, 49 IN UINT8 Type, 50 IN EFI_IFR_TYPE_VALUE *Value, 51 OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest 52 ); 53 54 #endif 55