]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/Utility.h
[Description]:
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / FrameworkHiiToUefiHiiThunk / Utility.h
CommitLineData
4259256b 1/**@file\r
2\r
3 This file contains utility functions by HII Thunk Modules.\r
4 \r
5Copyright (c) 2006 - 2008, Intel Corporation\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
10\r
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
13\r
14**/\r
15\r
16#ifndef _HII_THUNK_UTILITY_H\r
17#define _HII_THUNK_UTILITY_H\r
18\r
19EFI_GUID *\r
20GetGuidOfFirstFormset (\r
21 CONST EFI_HII_FORM_PACKAGE * FormPackage\r
22);\r
23\r
ee3428bb 24/**\r
25 Find the UefiHiiHandle based on a Framework HII Handle returned by\r
26 the HII Thunk to Framework HII code.\r
27\r
28 @param Private The pointer to the private data of Hii Thunk.\r
29 @param FrameworkHiiHandle Framework HII Handle returned by the HII Thunk to Framework HII code.\r
30\r
31 @retval NULL If Framework HII Handle passed in does not have matching UEFI HII handle.\r
32 @retval !NULL If the match is found.\r
33 \r
34**/\r
35EFI_HII_HANDLE\r
36FrameworkHiiHandleToUefiHiiHandle (\r
37 IN CONST EFI_HII_THUNK_PRIVATE_DATA *Private,\r
38 IN FRAMEWORK_EFI_HII_HANDLE FrameworkHiiHandle\r
39 )\r
40;\r
ebbd2793 41\r
42HII_TRHUNK_HANDLE_MAPPING_DATABASE_ENTRY *\r
43FrameworkHiiHandleToMapDatabaseEntry (\r
44 IN CONST EFI_HII_THUNK_PRIVATE_DATA *Private,\r
45 IN FRAMEWORK_EFI_HII_HANDLE FrameworkHiiHandle\r
46 )\r
47;\r
48\r
4259256b 49#endif\r