]>
Commit | Line | Data |
---|---|---|
143f0b1d ED |
1 | /** @file\r |
2 | String support\r | |
3 | \r | |
afc244a5 | 4 | Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r |
9d510e61 | 5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
143f0b1d ED |
6 | \r |
7 | **/\r | |
8 | \r | |
9 | #ifndef _STRING_H_\r | |
10 | #define _STRING_H_\r | |
11 | \r | |
1436aea4 | 12 | extern EFI_HII_HANDLE gStringPackHandle;\r |
143f0b1d ED |
13 | \r |
14 | //\r | |
15 | // This is the VFR compiler generated header file which defines the\r | |
16 | // string identifiers.\r | |
17 | //\r | |
18 | \r | |
19 | extern UINT8 BdsDxeStrings[];\r | |
20 | \r | |
21 | //\r | |
22 | // String Definition Guid for BDS Platform\r | |
23 | //\r | |
24 | #define EFI_BDS_PLATFORM_GUID \\r | |
25 | { \\r | |
26 | 0x7777E939, 0xD57E, 0x4DCB, 0xA0, 0x8E, 0x64, 0xD7, 0x98, 0x57, 0x1E, 0x0F \\r | |
27 | }\r | |
28 | \r | |
29 | /**\r | |
30 | Get string by string id from HII Interface\r | |
31 | \r | |
32 | \r | |
33 | @param Id String ID.\r | |
34 | \r | |
35 | @retval CHAR16 * String from ID.\r | |
36 | @retval NULL If error occurs.\r | |
37 | \r | |
38 | **/\r | |
39 | CHAR16 *\r | |
40 | GetStringById (\r | |
1436aea4 | 41 | IN EFI_STRING_ID Id\r |
143f0b1d ED |
42 | );\r |
43 | \r | |
44 | /**\r | |
45 | Initialize HII global accessor for string support.\r | |
46 | \r | |
47 | **/\r | |
48 | VOID\r | |
49 | InitializeStringSupport (\r | |
50 | VOID\r | |
51 | );\r | |
52 | \r | |
3194d76f DB |
53 | /**\r |
54 | Remove the string package.\r | |
55 | \r | |
56 | **/\r | |
143f0b1d ED |
57 | VOID\r |
58 | UninitializeStringSupport (\r | |
59 | VOID\r | |
60 | );\r | |
61 | \r | |
c9802c45 ED |
62 | /**\r |
63 | Routine to export glyphs to the HII database. This is in addition to whatever is defined in the Graphics Console driver.\r | |
64 | \r | |
65 | **/\r | |
66 | EFI_HII_HANDLE\r | |
67 | ExportFonts (\r | |
68 | VOID\r | |
69 | );\r | |
70 | \r | |
143f0b1d | 71 | #endif // _STRING_H_\r |