0a869bf8 |
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 |
13 | Module Name: HiiLib.h\r |
14 | \r |
15 | **/\r |
16 | \r |
17 | #ifndef __HII_LIB_H__\r |
18 | #define __HII_LIB_H__\r |
19 | \r |
7c6d55db |
20 | #include <Protocol/FrameworkHii.h>\r |
21 | \r |
0a869bf8 |
22 | /**\r |
23 | This function allocates pool for an EFI_HII_PACKAGES structure\r |
24 | with enough space for the variable argument list of package pointers.\r |
25 | The allocated structure is initialized using NumberOfPackages, Guid, \r |
26 | and the variable length argument list of package pointers.\r |
27 | \r |
28 | @param NumberOfPackages The number of HII packages to prepare.\r |
29 | @param Guid Package GUID.\r |
30 | \r |
31 | @return\r |
32 | The allocated and initialized packages.\r |
33 | \r |
34 | **/\r |
35 | EFI_HII_PACKAGES *\r |
36 | EFIAPI\r |
37 | PreparePackages (\r |
38 | IN UINTN NumberOfPackages,\r |
39 | IN CONST EFI_GUID *Guid OPTIONAL,\r |
40 | ...\r |
41 | )\r |
42 | ;\r |
43 | \r |
44 | \r |
45 | \r |
46 | #endif\r |