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