]>
Commit | Line | Data |
---|---|---|
878ddf1f | 1 | /** @file\r |
24e25d11 | 2 | Public include file for the HII Library\r |
878ddf1f | 3 | \r |
24e25d11 | 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 | |
878ddf1f | 9 | \r |
24e25d11 | 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 | |
878ddf1f | 12 | \r |
24e25d11 | 13 | Module Name: HiiLib.h\r |
878ddf1f | 14 | \r |
15 | **/\r | |
16 | \r | |
17 | #ifndef __HII_LIB_H__\r | |
18 | #define __HII_LIB_H__\r | |
19 | \r | |
20 | /**\r | |
24e25d11 | 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 | |
878ddf1f | 25 | \r |
24e25d11 | 26 | @param NumberOfPackages The number of HII packages to prepare.\r |
27 | @param Guid Package GUID.\r | |
878ddf1f | 28 | \r |
24e25d11 | 29 | @return\r |
30 | The allocated and initialized packages.\r | |
878ddf1f | 31 | \r |
32 | **/\r | |
33 | EFI_HII_PACKAGES *\r | |
34 | EFIAPI\r | |
35 | PreparePackages (\r | |
36 | IN UINTN NumberOfPackages,\r | |
37 | IN CONST EFI_GUID *Guid OPTIONAL,\r | |
38 | ...\r | |
39 | )\r | |
40 | ;\r | |
41 | \r | |
42 | \r | |
43 | \r | |
44 | #endif\r |