]>
Commit | Line | Data |
---|---|---|
9aa7ba01 | 1 | /** @file\r |
2 | String support\r | |
3 | \r | |
180a5a35 HT |
4 | Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r |
5 | This program and the accompanying materials\r | |
9aa7ba01 | 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 | |
13 | **/\r | |
14 | #include "String.h"\r | |
15 | \r | |
16 | /**\r | |
17 | Get string by string id from HII Interface\r | |
18 | \r | |
19 | \r | |
20 | @param Id String ID.\r | |
21 | \r | |
22 | @retval CHAR16 * String from ID.\r | |
23 | @retval NULL If error occurs.\r | |
24 | \r | |
25 | **/\r | |
26 | CHAR16 *\r | |
27 | BdsLibGetStringById (\r | |
28 | IN EFI_STRING_ID Id\r | |
29 | )\r | |
30 | {\r | |
31 | return HiiGetString (gBdsLibStringPackHandle, Id, NULL);\r | |
32 | }\r |