]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Library/ExtendedHiiLib.h
clean up the un-suitable ';' location when declaring the functions.
[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
6ca46b63 24 The Device Path created is a Vendor Device Path specific to Intel's implemenation\r
25 and it is defined as HII_VENDOR_DEVICE_PATH_NODE.\r
26 \r
9226efe5 27\r
28 @param DriverHandle Handle to be returned\r
29\r
30 @retval EFI_SUCCESS Handle destroy success.\r
31 @retval EFI_OUT_OF_RESOURCES Not enough memory.\r
32\r
33**/\r
34EFI_STATUS\r
35EFIAPI\r
36HiiLibCreateHiiDriverHandle (\r
37 OUT EFI_HANDLE *DriverHandle\r
ed66e1bc 38 );\r
9226efe5 39\r
40/**\r
41 Destroy the Driver Handle created by CreateHiiDriverHandle().\r
42\r
43 If no Device Path protocol is installed on the DriverHandle, then ASSERT.\r
44 If this Device Path protocol is failed to be uninstalled, then ASSERT.\r
45\r
46 @param DriverHandle Handle returned by CreateHiiDriverHandle()\r
47\r
48\r
49**/\r
50VOID\r
51EFIAPI\r
52HiiLibDestroyHiiDriverHandle (\r
53 IN EFI_HANDLE DriverHandle\r
ed66e1bc 54 );\r
9226efe5 55\r
56\r
57#endif\r