]>
Commit | Line | Data |
---|---|---|
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 | |
dc7b4a5c | 17 | #ifndef __FRAMEWORK_HII_LIB_H__\r |
18 | #define __FRAMEWORK_HII_LIB_H__\r | |
19 | \r | |
20 | #include <FrameworkDxe.h>\r | |
0a869bf8 | 21 | \r |
8e5b17b2 | 22 | #include <Protocol/FrameworkHii.h>\r |
dc7b4a5c | 23 | //\r |
24 | // FrameworkHiiLib will produce HiiLib library class too.\r | |
25 | //\r | |
26 | #include <Library/HiiLib.h>\r | |
7c6d55db | 27 | \r |
0a869bf8 | 28 | /**\r |
29 | This function allocates pool for an EFI_HII_PACKAGES structure\r | |
30 | with enough space for the variable argument list of package pointers.\r | |
31 | The allocated structure is initialized using NumberOfPackages, Guid, \r | |
32 | and the variable length argument list of package pointers.\r | |
33 | \r | |
34 | @param NumberOfPackages The number of HII packages to prepare.\r | |
35 | @param Guid Package GUID.\r | |
36 | \r | |
37 | @return\r | |
38 | The allocated and initialized packages.\r | |
39 | \r | |
40 | **/\r | |
41 | EFI_HII_PACKAGES *\r | |
42 | EFIAPI\r | |
43 | PreparePackages (\r | |
44 | IN UINTN NumberOfPackages,\r | |
45 | IN CONST EFI_GUID *Guid OPTIONAL,\r | |
46 | ...\r | |
47 | )\r | |
48 | ;\r | |
49 | \r | |
0a869bf8 | 50 | #endif\r |