From 5a1fc2219b4ec0e13673cebe3689bc6b895d97aa Mon Sep 17 00:00:00 2001 From: qwang12 Date: Mon, 10 Dec 2007 07:28:15 +0000 Subject: Sync HII and Setupbrowser related header files with UEFI 2.1 spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4378 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Protocol/HiiConfigAccess.h | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'MdePkg/Include/Protocol/HiiConfigAccess.h') diff --git a/MdePkg/Include/Protocol/HiiConfigAccess.h b/MdePkg/Include/Protocol/HiiConfigAccess.h index a0e4be5..b253a7b 100644 --- a/MdePkg/Include/Protocol/HiiConfigAccess.h +++ b/MdePkg/Include/Protocol/HiiConfigAccess.h @@ -21,7 +21,7 @@ #error "UEFI 2.1 HII is not fully implemented for now, Please don't include this file now." -#define EFI_HII_CONFIGURATION_ACCESS_PROTOCOL_GUID \ +#define EFI_HII_CONFIG_ACCESS_PROTOCOL_GUID \ { 0x330d4706, 0xf2a0, 0x4e4f, { 0xa3, 0x69, 0xb6, 0x6f, 0xa8, 0xd5, 0x43, 0x85 } } typedef struct _EFI_HII_CONFIG_ACCESS_PROTOCOL EFI_HII_CONFIG_ACCESS_PROTOCOL; @@ -194,11 +194,15 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI *EFI_FORM_CALLBACK) ( - IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This, - IN CONST UINT16 KeyValue, - IN CONST VOID *Data -); +(EFIAPI *EFI_HII_ACCESS_FORM_CALLBACK) ( + IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This, + 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 + ) + ; /** This protocol provides a callable interface between the HII and @@ -222,9 +226,9 @@ EFI_STATUS **/ struct _EFI_HII_CONFIG_ACCESS_PROTOCOL { - EFI_HII_ACCESS_ROUTE_CONFIG ExtractConfig; - EFI_HII_ACCESS_EXTRACT_CONFIG RouteConfig; - EFI_FORM_CALLBACK Callback; + EFI_HII_ACCESS_EXTRACT_CONFIG ExtractConfig; + EFI_HII_ACCESS_ROUTE_CONFIG RouteConfig; + EFI_HII_ACCESS_FORM_CALLBACK Callback; } ; extern EFI_GUID gEfiHiiConfigAccessProtocolGuid; -- cgit v1.1