1 /** @file 2 String support 3 4 Copyright (c) 2004 - 2009, Intel Corporation. All rights reserved.<BR> 5 SPDX-License-Identifier: BSD-2-Clause-Patent 6 7 **/ 8 9 #ifndef _STRING_H_ 10 #define _STRING_H_ 11 12 #include "Bds.h" 13 14 extern EFI_HII_HANDLE gStringPackHandle; 15 16 // 17 // This is the VFR compiler generated header file which defines the 18 // string identifiers. 19 // 20 21 extern UINT8 BdsDxeStrings[]; 22 23 /** 24 Get string by string id from HII Interface 25 26 27 @param Id String ID. 28 29 @retval CHAR16 * String from ID. 30 @retval NULL If error occurs. 31 32 **/ 33 CHAR16 * 34 GetStringById ( 35 IN EFI_STRING_ID Id 36 ); 37 38 /** 39 Initialize HII global accessor for string support. 40 41 **/ 42 VOID 43 InitializeStringSupport ( 44 VOID 45 ); 46 47 /** 48 Call the browser and display the front page 49 50 @return Status code that will be returned by 51 EFI_FORM_BROWSER2_PROTOCOL.SendForm (). 52 53 **/ 54 EFI_STATUS 55 CallFrontPage ( 56 VOID 57 ); 58 59 #endif // _STRING_H_ 60