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