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