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 | This program and the accompanying materials are licensed and made available under
|
---|
6 | the terms and conditions of the BSD License that accompanies this distribution.
|
---|
7 | The full text of the license may be found at
|
---|
8 | http://opensource.org/licenses/bsd-license.php.
|
---|
9 |
|
---|
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
---|
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
---|
12 |
|
---|
13 | **/
|
---|
14 |
|
---|
15 | #ifndef __CUSTOMIZED_UI_H__
|
---|
16 | #define __CUSTOMIZED_UI_H__
|
---|
17 |
|
---|
18 |
|
---|
19 | /**
|
---|
20 | Customize menus in the page.
|
---|
21 |
|
---|
22 | @param[in] HiiHandle The HII Handle of the form to update.
|
---|
23 | @param[in] StartOpCodeHandle The context used to insert opcode.
|
---|
24 |
|
---|
25 | **/
|
---|
26 | VOID
|
---|
27 | UiCustomizeBMMPage (
|
---|
28 | IN EFI_HII_HANDLE HiiHandle,
|
---|
29 | IN VOID *StartOpCodeHandle
|
---|
30 | );
|
---|
31 |
|
---|
32 | /**
|
---|
33 | This function processes the results of changes in configuration.
|
---|
34 |
|
---|
35 |
|
---|
36 | @param HiiHandle Points to the hii handle for this formset.
|
---|
37 | @param Action Specifies the type of action taken by the browser.
|
---|
38 | @param QuestionId A unique value which is sent to the original exporting driver
|
---|
39 | so that it can identify the type of data to expect.
|
---|
40 | @param Type The type of value for the question.
|
---|
41 | @param Value A pointer to the data being sent to the original exporting driver.
|
---|
42 | @param ActionRequest On return, points to the action requested by the callback function.
|
---|
43 |
|
---|
44 | @retval EFI_SUCCESS The callback successfully handled the action.
|
---|
45 | @retval EFI_OUT_OF_RESOURCES Not enough storage is available to hold the variable and its data.
|
---|
46 | @retval EFI_DEVICE_ERROR The variable could not be saved.
|
---|
47 | @retval EFI_UNSUPPORTED The specified Action is not supported by the callback.
|
---|
48 |
|
---|
49 | **/
|
---|
50 | EFI_STATUS
|
---|
51 | UiBMMCallbackHandler (
|
---|
52 | IN EFI_HII_HANDLE HiiHandle,
|
---|
53 | IN EFI_BROWSER_ACTION Action,
|
---|
54 | IN EFI_QUESTION_ID QuestionId,
|
---|
55 | IN UINT8 Type,
|
---|
56 | IN EFI_IFR_TYPE_VALUE *Value,
|
---|
57 | OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest
|
---|
58 | );
|
---|
59 |
|
---|
60 | #endif
|
---|