2015-01-12 10:37:20 +01:00
|
|
|
/** @file
|
|
|
|
String support
|
|
|
|
|
|
|
|
Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:07:37 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2015-01-12 10:37:20 +01:00
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef _STRING_H_
|
|
|
|
#define _STRING_H_
|
|
|
|
|
|
|
|
#include <Library/HiiLib.h>
|
|
|
|
#include <Library/DebugLib.h>
|
|
|
|
#include <Library/DevicePathLib.h>
|
|
|
|
#include <Library/UefiLib.h>
|
|
|
|
#include <Library/UefiBootServicesTableLib.h>
|
|
|
|
|
|
|
|
extern EFI_HII_HANDLE gBdsLibStringPackHandle;
|
|
|
|
|
|
|
|
//
|
|
|
|
// This is the VFR compiler generated header file which defines the
|
|
|
|
// string identifiers.
|
|
|
|
//
|
|
|
|
|
|
|
|
extern UINT8 GenericBdsLibStrings[];
|
|
|
|
|
|
|
|
/**
|
|
|
|
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
|
|
|
|
);
|
|
|
|
|
|
|
|
#endif // _STRING_H_
|