TianoCore EDK2 master
Loading...
Searching...
No Matches
FrontPageCustomizedUiSupport.h File Reference

Go to the source code of this file.

Typedefs

typedef BOOLEAN(EFIAPI * DRIVER_SPECIAL_HANDLER) (IN CHAR16 *DriverName, OUT CHAR16 **NewName, OUT BOOLEAN *EmptyLineAfter)
 

Functions

VOID UiCreateContinueMenu (IN EFI_HII_HANDLE HiiHandle, IN VOID *StartOpCodeHandle)
 
VOID UiCreateEmptyLine (IN EFI_HII_HANDLE HiiHandle, IN VOID *StartOpCodeHandle)
 
VOID UiCreateLanguageMenu (IN EFI_HII_HANDLE HiiHandle, IN VOID *StartOpCodeHandle)
 
VOID UiCreateResetMenu (IN EFI_HII_HANDLE HiiHandle, IN VOID *StartOpCodeHandle)
 
EFI_STATUS UiListThirdPartyDrivers (IN EFI_HII_HANDLE HiiHandle, IN EFI_GUID *ClassGuid, IN DRIVER_SPECIAL_HANDLER SpecialHandlerFn, IN VOID *StartOpCodeHandle)
 
BOOLEAN UiSupportLibCallbackHandler (IN EFI_HII_HANDLE HiiHandle, IN EFI_BROWSER_ACTION Action, IN EFI_QUESTION_ID QuestionId, IN UINT8 Type, IN EFI_IFR_TYPE_VALUE *Value, OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest, OUT EFI_STATUS *Status)
 

Detailed Description

This library class defines a set of interfaces to be used by customize Ui module

Copyright (c) 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file FrontPageCustomizedUiSupport.h.

Typedef Documentation

◆ DRIVER_SPECIAL_HANDLER

typedef BOOLEAN(EFIAPI * DRIVER_SPECIAL_HANDLER) (IN CHAR16 *DriverName, OUT CHAR16 **NewName, OUT BOOLEAN *EmptyLineAfter)

Rename the driver name if necessary.

Parameters
DriverNameInput the driver name.
NewDriverNameReturn the new driver name.
EmptyLineAfterWhether need to insert empty line.
Return values
Newdriver name if compared, else NULL.

Definition at line 75 of file FrontPageCustomizedUiSupport.h.

Function Documentation

◆ UiCreateContinueMenu()

VOID UiCreateContinueMenu ( IN EFI_HII_HANDLE  HiiHandle,
IN VOID *  StartOpCodeHandle 
)

Create continue menu in the front page.

Parameters
[in]HiiHandleThe hii handle for the Uiapp driver.
[in]StartOpCodeHandleThe opcode handle to save the new opcode.

Definition at line 405 of file FrontPageCustomizedUiSupport.c.

◆ UiCreateEmptyLine()

VOID UiCreateEmptyLine ( IN EFI_HII_HANDLE  HiiHandle,
IN VOID *  StartOpCodeHandle 
)

Create empty line menu.

Parameters
HiiHandleThe hii handle for the Uiapp driver.
StartOpCodeHandleThe opcode handle to save the new opcode.

Create empty line menu in the front page.

Parameters
HiiHandleThe hii handle for the Uiapp driver.
StartOpCodeHandleThe opcode handle to save the new opcode.

Definition at line 428 of file FrontPageCustomizedUiSupport.c.

◆ UiCreateLanguageMenu()

VOID UiCreateLanguageMenu ( IN EFI_HII_HANDLE  HiiHandle,
IN VOID *  StartOpCodeHandle 
)

Create Select language menu in the front page with oneof opcode.

Parameters
[in]HiiHandleThe hii handle for the Uiapp driver.
[in]StartOpCodeHandleThe opcode handle to save the new opcode.

Definition at line 253 of file FrontPageCustomizedUiSupport.c.

◆ UiCreateResetMenu()

VOID UiCreateResetMenu ( IN EFI_HII_HANDLE  HiiHandle,
IN VOID *  StartOpCodeHandle 
)

Create Reset menu.

Parameters
[in]HiiHandleThe hii handle for the Uiapp driver.
[in]StartOpCodeHandleThe opcode handle to save the new opcode.

Create Reset menu in the front page.

Parameters
[in]HiiHandleThe hii handle for the Uiapp driver.
[in]StartOpCodeHandleThe opcode handle to save the new opcode.

Definition at line 444 of file FrontPageCustomizedUiSupport.c.

◆ UiListThirdPartyDrivers()

EFI_STATUS UiListThirdPartyDrivers ( IN EFI_HII_HANDLE  HiiHandle,
IN EFI_GUID ClassGuid,
IN DRIVER_SPECIAL_HANDLER  SpecialHandlerFn,
IN VOID *  StartOpCodeHandle 
)

Search the drivers in the system which need to show in the front page and insert the menu to the front page.

Parameters
HiiHandleThe hii handle for the Uiapp driver.
ClassGuidThe class guid for the driver which is the target.
SpecialHandlerFnThe pointer to the special handler function, if any.
StartOpCodeHandleThe opcode handle to save the new opcode.
Return values
EFI_SUCCESSSearch the driver success

Definition at line 569 of file FrontPageCustomizedUiSupport.c.

◆ UiSupportLibCallbackHandler()

BOOLEAN UiSupportLibCallbackHandler ( IN EFI_HII_HANDLE  HiiHandle,
IN EFI_BROWSER_ACTION  Action,
IN EFI_QUESTION_ID  QuestionId,
IN UINT8  Type,
IN EFI_IFR_TYPE_VALUE Value,
OUT EFI_BROWSER_ACTION_REQUEST *  ActionRequest,
OUT EFI_STATUS Status 
)

This function processes the results of changes in configuration.

Parameters
HiiHandlePoints to the hii handle for this formset.
ActionSpecifies the type of action taken by the browser.
QuestionIdA unique value which is sent to the original exporting driver so that it can identify the type of data to expect.
TypeThe type of value for the question.
ValueA pointer to the data being sent to the original exporting driver.
ActionRequestOn return, points to the action requested by the callback function.
StatusReturn the handle status.
Return values
TRUEThe callback successfully handled the action.
FALSEThe callback not supported in this handler.

Definition at line 175 of file FrontPageCustomizedUiSupport.c.