A.2.3 HiiConfigAccess.c File

Example A-8-Driver Health Protocol implementation template

/** @file
<<BriefDescription>>
<<DetailedDescription>>
<<Copyright>>
<<License>>
**/
#include "<<DriverName>>.h"
GLOBAL_REMOVE_IF_UNREFERENCED
EFI_HII_CONFIG_ACCESS_PROTOCOL g<<DriverName>>HiiConfigAccess = {
<<DriverName>>HiiConfigAccessExtractConfig,
<<DriverName>>HiiConfigAccessRouteConfig,
<<DriverName>>HiiConfigAccessCallback
};
EFI_STATUS
EFIAPI
<<DriverName>>HiiConfigAccessExtractConfig (
IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This,
IN CONST EFI_STRING Request,
OUT EFI_STRING *Progress,
OUT EFI_STRING *Results
)
{
}
EFI_STATUS
EFIAPI
<<DriverName>>HiiConfigAccessRouteConfig (
IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This,
IN CONST EFI_STRING Configuration,
OUT EFI_STRING *Progress
)
{
}
EFI_STATUS
EFIAPI
<<DriverName>>HiiConfigAccessCallback (
IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This,
IN EFI_BROWSER_ACTION Action,
IN EFI_QUESTION_ID QuestionId,
IN UINT8 Type,
IN OUT EFI_IFR_TYPE_VALUE *Value,
OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest
)
{
}