]>
Commit | Line | Data |
---|---|---|
1 | /*++\r | |
2 | \r | |
3 | Copyright (c) 2004 - 2007, Intel Corporation. All rights reserved.<BR>\r | |
4 | This program and the accompanying materials \r | |
5 | are licensed and made available under the terms and conditions of the BSD License \r | |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | \r | |
13 | Module Name:\r | |
14 | \r | |
15 | EdkIIGlueHiiLib.h\r | |
16 | \r | |
17 | Abstract: \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 | |
26 | #if (EFI_SPECIFICATION_VERSION < 0x0002000A)\r | |
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 | |
44 | EFI_HII_PACKAGES *\r | |
45 | EFIAPI\r | |
46 | GluePreparePackages (\r | |
47 | IN UINTN NumberOfPackages,\r | |
48 | IN CONST EFI_GUID *Guid OPTIONAL,\r | |
49 | ...\r | |
50 | );\r | |
51 | \r | |
52 | #endif\r | |
53 | \r | |
54 | #endif\r |