fb3df220 |
1 | /** @file\r |
2 | Public include file for the HII Library\r |
3 | \r |
4 | Copyright (c) 2006, Intel Corporation \r |
5 | All rights reserved. This program and the accompanying materials \r |
6 | are licensed and made available under the terms and conditions of the BSD License \r |
7 | which accompanies this distribution. The full text of the license may be found at \r |
8 | http://opensource.org/licenses/bsd-license.php \r |
9 | \r |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r |
12 | \r |
fb3df220 |
13 | **/\r |
14 | \r |
15 | #ifndef __HII_LIB_H__\r |
16 | #define __HII_LIB_H__\r |
17 | \r |
18 | #include <Protocol/HiiDatabase.h>\r |
19 | \r |
20 | /**\r |
21 | This function allocates pool for an EFI_HII_PACKAGES structure\r |
22 | with enough space for the variable argument list of package pointers.\r |
23 | The allocated structure is initialized using NumberOfPackages, Guid, \r |
24 | and the variable length argument list of package pointers.\r |
25 | \r |
26 | @param NumberOfPackages The number of HII packages to prepare.\r |
27 | @param Guid Package GUID.\r |
28 | \r |
29 | @return\r |
30 | The allocated and initialized packages.\r |
31 | \r |
32 | **/\r |
c7d265a9 |
33 | EFI_HII_PACKAGE_LIST_HEADER *\r |
fb3df220 |
34 | EFIAPI\r |
35 | PreparePackages (\r |
c7d265a9 |
36 | IN CONST UINTN NumberOfPackages,\r |
37 | IN CONST EFI_GUID *Guid OPTIONAL,\r |
fb3df220 |
38 | ...\r |
c7d265a9 |
39 | );\r |
fb3df220 |
40 | \r |
41 | #endif\r |