]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Application/UiApp/String.h
3dc4c3316b75bc6a710091e3aa3993cbd94c440c
[mirror_edk2.git] / MdeModulePkg / Application / UiApp / String.h
1 /** @file
2 String support
3
4 Copyright (c) 2004 - 2015, 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 extern EFI_HII_HANDLE gStringPackHandle;
13
14 //
15 // This is the VFR compiler generated header file which defines the
16 // string identifiers.
17 //
18
19 extern UINT8 BdsDxeStrings[];
20
21 //
22 // String Definition Guid for BDS Platform
23 //
24 #define EFI_BDS_PLATFORM_GUID \
25 { \
26 0x7777E939, 0xD57E, 0x4DCB, 0xA0, 0x8E, 0x64, 0xD7, 0x98, 0x57, 0x1E, 0x0F \
27 }
28
29 /**
30 Get string by string id from HII Interface
31
32
33 @param Id String ID.
34
35 @retval CHAR16 * String from ID.
36 @retval NULL If error occurs.
37
38 **/
39 CHAR16 *
40 GetStringById (
41 IN EFI_STRING_ID Id
42 );
43
44 /**
45 Initialize HII global accessor for string support.
46
47 **/
48 VOID
49 InitializeStringSupport (
50 VOID
51 );
52
53 /**
54 Remove the string package.
55
56 **/
57 VOID
58 UninitializeStringSupport (
59 VOID
60 );
61
62 /**
63 Routine to export glyphs to the HII database. This is in addition to whatever is defined in the Graphics Console driver.
64
65 **/
66 EFI_HII_HANDLE
67 ExportFonts (
68 VOID
69 );
70
71 #endif // _STRING_H_