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