]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Include/Library/ExtendedHiiLib.h
50ab9c710b3e7959b7a9474c68461fc5f3d133ad
[mirror_edk2.git] / MdeModulePkg / Include / Library / ExtendedHiiLib.h
1 /** @file
2 This library includes the APIs that is specific to EDK II's implementation.
3 It extended the UEFI Specification to define GUIDed device path.
4
5 Copyright (c) 2008, Intel Corporation. <BR>
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14 **/
15
16 #ifndef __EXTENDED_HII_LIB_H__
17 #define __EXTENDED_HII_LIB_H__
18
19 /**
20 The HII driver handle passed in for HiiDatabase.NewPackageList() requires
21 that there should be DevicePath Protocol installed on it.
22 This routine create a virtual Driver Handle by installing a vendor device
23 path on it, so as to use it to invoke HiiDatabase.NewPackageList().
24 The Device Path created is a Vendor Device Path specific to Intel's implemenation.
25
26 @param DriverHandle Handle to be returned
27
28 @retval EFI_SUCCESS Handle destroy success.
29 @retval EFI_OUT_OF_RESOURCES Not enough memory.
30
31 **/
32 EFI_STATUS
33 EFIAPI
34 HiiLibCreateHiiDriverHandle (
35 OUT EFI_HANDLE *DriverHandle
36 )
37 ;
38
39 /**
40 Destroy the Driver Handle created by CreateHiiDriverHandle().
41
42 If no Device Path protocol is installed on the DriverHandle, then ASSERT.
43 If this Device Path protocol is failed to be uninstalled, then ASSERT.
44
45 @param DriverHandle Handle returned by CreateHiiDriverHandle()
46
47
48 **/
49 VOID
50 EFIAPI
51 HiiLibDestroyHiiDriverHandle (
52 IN EFI_HANDLE DriverHandle
53 )
54 ;
55
56
57 #endif