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