Add in Macro named SUPPORT_DEPRECATED_IFRSUPPORTLIB_API to comment out the functions that will be not be supported by EdkCompatibilityPka's FrameworkHiiToUefiHiiThunk module. We choose not to support these function as they are not commonly used by modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5084 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2008-04-17 13:39:39 +00:00
parent 6d9a6cf062
commit 76a21f7ce8
3 changed files with 30 additions and 1 deletions

View File

@ -78,6 +78,7 @@ Returns:
}
#ifdef SUPPORT_DEPRECATED_IFRSUPPORTLIB_API
EFI_STATUS
AddString (
IN VOID *StringBuffer,
@ -412,6 +413,7 @@ Returns:
gBS->FreePool (NewBuffer);
return EFI_SUCCESS;
}
#endif
EFI_STATUS
@ -484,6 +486,8 @@ Returns:
--*/
{
#ifdef SUPPORT_DEPRECATED_IFRSUPPORTLIB_API
EFI_STATUS Status;
EFI_HII_PROTOCOL *Hii;
UINTN DataLength;
@ -624,6 +628,13 @@ Returns:
gBS->FreePool (OldData);
return EFI_SUCCESS;
#else
//
// The implementation will be added later.
//
ASSERT (FALSE);
return EFI_UNSUPPORTED;
#endif
}
@ -649,6 +660,7 @@ Returns:
--*/
{
#ifdef SUPPORT_DEPRECATED_IFRSUPPORTLIB_API
EFI_STATUS Status;
EFI_HII_HANDLE *HiiHandleBuffer;
@ -740,9 +752,16 @@ Returns:
lbl_exit:
gBS->FreePool (HiiHandleBuffer);
return HiiHandle;
#else
//
// The implementation will be added later.
//
ASSERT (FALSE);
return (EFI_HII_HANDLE) 0;
#endif
}
#ifdef SUPPORT_DEPRECATED_IFRSUPPORTLIB_API
EFI_STATUS
ValidateDataFromHiiHandle (
IN EFI_HII_HANDLE HiiHandle,
@ -981,6 +1000,7 @@ Returns:
return EFI_SUCCESS;
}
#endif
EFI_HII_PACKAGES *
PreparePackages (

View File

@ -61,6 +61,7 @@ Returns:
--*/
;
#ifdef SUPPORT_DEPRECATED_IFRSUPPORTLIB_API
EFI_STATUS
AddString (
IN VOID *StringBuffer,
@ -515,6 +516,7 @@ Returns:
--*/
;
#endif
EFI_STATUS
ExtractDataFromHiiHandle (
@ -920,6 +922,7 @@ Returns:
--*/
;
#ifdef SUPPORT_DEPRECATED_IFRSUPPORTLIB_API
EFI_STATUS
ValidateDataFromHiiHandle (
IN EFI_HII_HANDLE HiiHandle,
@ -948,6 +951,7 @@ Returns:
EFI_SUCCESS - Data successfully validated
--*/
;
#endif
EFI_STATUS
CreateBannerOpCode (

View File

@ -21,6 +21,8 @@ Revision History:
#include "IfrLibrary.h"
#ifdef SUPPORT_DEPRECATED_IFRSUPPORTLIB_API
EFI_STATUS
CreateFormSet (
IN CHAR16 *FormSetTitle,
@ -972,3 +974,6 @@ Returns:
return EFI_SUCCESS;
}
#endif