]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Application/UiApp/String.h
MdePkg: Convert all .uni files to utf-8
[mirror_edk2.git] / MdeModulePkg / Application / UiApp / String.h
CommitLineData
143f0b1d
ED
1/** @file\r
2 String support\r
3\r
afc244a5 4Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r
143f0b1d
ED
5This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef _STRING_H_\r
16#define _STRING_H_\r
17\r
18extern EFI_HII_HANDLE gStringPackHandle;\r
19\r
20//\r
21// This is the VFR compiler generated header file which defines the\r
22// string identifiers.\r
23//\r
24\r
25extern UINT8 BdsDxeStrings[];\r
26\r
27//\r
28// String Definition Guid for BDS Platform\r
29//\r
30#define EFI_BDS_PLATFORM_GUID \\r
31 { \\r
32 0x7777E939, 0xD57E, 0x4DCB, 0xA0, 0x8E, 0x64, 0xD7, 0x98, 0x57, 0x1E, 0x0F \\r
33 }\r
34\r
35/**\r
36 Get string by string id from HII Interface\r
37\r
38\r
39 @param Id String ID.\r
40\r
41 @retval CHAR16 * String from ID.\r
42 @retval NULL If error occurs.\r
43\r
44**/\r
45CHAR16 *\r
46GetStringById (\r
47 IN EFI_STRING_ID Id\r
48 );\r
49\r
50/**\r
51 Initialize HII global accessor for string support.\r
52\r
53**/\r
54VOID\r
55InitializeStringSupport (\r
56 VOID\r
57 );\r
58\r
3194d76f
DB
59/**\r
60 Remove the string package.\r
61\r
62**/\r
143f0b1d
ED
63VOID\r
64UninitializeStringSupport (\r
65 VOID\r
66 );\r
67\r
143f0b1d 68#endif // _STRING_H_\r