]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueHiiLib.h
Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / EdkIIGlueLib / Include / Library / EdkIIGlueHiiLib.h
CommitLineData
3eb9473e 1/*++\r
2\r
2c7e5c2f
HT
3Copyright (c) 2004 - 2007, Intel Corporation. All rights reserved.<BR>\r
4This program and the accompanying materials \r
3eb9473e 5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11 \r
12\r
13Module Name:\r
14\r
15 EdkIIGlueHiiLib.h\r
16 \r
17Abstract: \r
18\r
19 Public header file for Hii Lib\r
20\r
21--*/\r
22\r
23#ifndef __EDKII_GLUE_HII_LIB_H__\r
24#define __EDKII_GLUE_HII_LIB_H__\r
25\r
c7f33ca4 26#if (EFI_SPECIFICATION_VERSION < 0x0002000A)\r
3eb9473e 27\r
28#define PreparePackages GluePreparePackages\r
29\r
30\r
31/**\r
32 This function allocates pool for an EFI_HII_PACKAGES structure\r
33 with enough space for the variable argument list of package pointers.\r
34 The allocated structure is initialized using NumberOfPackages, Guid, \r
35 and the variable length argument list of package pointers.\r
36\r
37 @param NumberOfPackages The number of HII packages to prepare.\r
38 @param Guid Package GUID.\r
39\r
40 @return\r
41 The allocated and initialized packages.\r
42\r
43**/\r
44EFI_HII_PACKAGES *\r
45EFIAPI\r
46GluePreparePackages (\r
47 IN UINTN NumberOfPackages,\r
48 IN CONST EFI_GUID *Guid OPTIONAL,\r
49 ...\r
e00e1d46 50 );\r
3eb9473e 51\r
c7f33ca4 52#endif\r
3eb9473e 53\r
54#endif\r