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