]>
Commit | Line | Data |
---|---|---|
fd6a62f3 | 1 | /** @file\r |
2 | String support\r | |
93e3992d | 3 | \r |
fd6a62f3 | 4 | Copyright (c) 2004 - 2008, Intel Corporation. <BR>\r |
93e3992d | 5 | All rights reserved. This program and the accompanying materials\r |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
fd6a62f3 | 13 | **/\r |
93e3992d | 14 | \r |
15 | #ifndef _STRING_H_\r | |
16 | #define _STRING_H_\r | |
17 | \r | |
18 | #include "Bds.h"\r | |
19 | \r | |
20 | extern EFI_HII_HANDLE gStringPackHandle;\r | |
21 | \r | |
22 | //\r | |
23 | // This is the VFR compiler generated header file which defines the\r | |
24 | // string identifiers.\r | |
25 | //\r | |
26 | \r | |
062539cf | 27 | extern UINT8 BdsDxeStrings[];\r |
93e3992d | 28 | \r |
29 | //\r | |
30 | // String Definition Guid for BDS Platform\r | |
31 | //\r | |
32 | #define EFI_BDS_PLATFORM_GUID \\r | |
33 | { \\r | |
34 | 0x7777E939, 0xD57E, 0x4DCB, 0xA0, 0x8E, 0x64, 0xD7, 0x98, 0x57, 0x1E, 0x0F \\r | |
35 | }\r | |
36 | \r | |
b30312ba | 37 | /**\r |
38 | Get string by string id from HII Interface\r | |
39 | \r | |
40 | \r | |
41 | @param Id String ID.\r | |
42 | \r | |
43 | @retval CHAR16 * String from ID.\r | |
44 | @retval NULL If error occurs.\r | |
45 | \r | |
46 | **/\r | |
93e3992d | 47 | CHAR16 *\r |
48 | GetStringById (\r | |
49 | IN EFI_STRING_ID Id\r | |
50 | );\r | |
51 | \r | |
b30312ba | 52 | /**\r |
53 | Initialize HII global accessor for string support\r | |
54 | \r | |
b30312ba | 55 | @retval EFI_SUCCESS String support initialize success.\r |
56 | \r | |
57 | **/\r | |
93e3992d | 58 | EFI_STATUS\r |
59 | InitializeStringSupport (\r | |
60 | VOID\r | |
61 | );\r | |
62 | \r | |
b30312ba | 63 | /**\r |
64 | Call the browser and display the front page\r | |
65 | \r | |
b30312ba | 66 | @return Status code that will be returned by\r |
67 | EFI_FORM_BROWSER2_PROTOCOL.SendForm ().\r | |
68 | \r | |
69 | **/\r | |
93e3992d | 70 | EFI_STATUS\r |
71 | CallFrontPage (\r | |
72 | VOID\r | |
73 | );\r | |
74 | \r | |
75 | #endif // _STRING_H_\r |