alder_lake_bios/Insyde/InsydeSetupPkg/Library/LayoutSupportLib/LayoutSupportLib.h

74 lines
2.4 KiB
C

/** @file
Function definition for Layout Package Lib
;******************************************************************************
;* Copyright (c) 2013 - 2020, Insyde Software Corp. All Rights Reserved.
;*
;* You may not reproduce, distribute, publish, display, perform, modify, adapt,
;* transmit, broadcast, present, recite, release, license or otherwise exploit
;* any part of this publication in any form, by any means, without the prior
;* written permission of Insyde Software Corporation.
;*
;******************************************************************************
*/
#ifndef _LAYOUT_PACKAGE_LIB_H_
#define _LAYOUT_PACKAGE_LIB_H_
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
#include <Library/BaseLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/UefiLib.h>
#include <Library/DebugLib.h>
#include <Library/PrintLib.h>
#include <Library/LayoutLib.h>
#include <Library/HiiDbLib.h>
#include <Library/HiiStringLib.h>
#include <Library/HiiConfigAccessLib.h>
#include <Library/HiiExLib.h>
#include <Library/UefiHiiServicesLib.h>
#include <Protocol/H2OKeyDesc.h>
#include <Protocol/LayoutDatabase.h>
#include <Protocol/HiiDatabase.h>
#include <Protocol/HiiImage.h>
#include <Protocol/HiiFont.h>
#include <Protocol/H2OFormBrowser.h>
#include <Protocol/SetupUtilityApplication.h>
#include <Guid/ZeroGuid.h>
H2O_FORM_INFO *
GetFormLayoutByFormId (
IN H2O_FORMSET_INFO *Formset,
IN UINT32 FormId
);
EFI_STATUS
GetPropertyFromVfrInVfcf (
IN EFI_GUID *FormsetGuid,
IN UINT32 FormId,
IN BOOLEAN IsQuestion,
IN UINT16 Id,
IN UINT32 HotkeyId,
IN UINT32 StyleType,
IN UINT32 PseudoClass,
IN CHAR8 *IdentifierStr,
IN RECT *RelativeField OPTIONAL,
OUT H2O_PROPERTY_INFO **Property,
OUT H2O_PROPERTY_VALUE *PropValue
);
EFI_STATUS
GetVfcfFormsetLayoutId (
IN EFI_GUID *FormsetGuid,
OUT UINT32 *FormsetLayoutId
);
#endif