2010-01-27 08:18:36 +01:00
|
|
|
/** @file
|
|
|
|
String support
|
|
|
|
|
2010-04-23 18:28:26 +02:00
|
|
|
Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:03:59 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2010-01-27 08:18:36 +01:00
|
|
|
|
|
|
|
**/
|
|
|
|
#include "String.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
Get string by string id from HII Interface
|
|
|
|
|
|
|
|
|
|
|
|
@param Id String ID.
|
|
|
|
|
|
|
|
@retval CHAR16 * String from ID.
|
|
|
|
@retval NULL If error occurs.
|
|
|
|
|
|
|
|
**/
|
|
|
|
CHAR16 *
|
|
|
|
BdsLibGetStringById (
|
|
|
|
IN EFI_STRING_ID Id
|
|
|
|
)
|
|
|
|
{
|
|
|
|
return HiiGetString (gBdsLibStringPackHandle, Id, NULL);
|
|
|
|
}
|