4 Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 #include "FrontPage.h"
19 EFI_HII_HANDLE gStringPackHandle
;
21 EFI_GUID mUiStringPackGuid
= {
22 0x136a3048, 0x752a, 0x4bf6, { 0xa7, 0x57, 0x9, 0x36, 0x11, 0x95, 0x38, 0xed }
26 Initialize HII global accessor for string support.
30 InitializeStringSupport (
34 gStringPackHandle
= HiiAddPackages (
40 ASSERT (gStringPackHandle
!= NULL
);
44 Remove the string package.
48 UninitializeStringSupport (
52 HiiRemovePackages (gStringPackHandle
);
56 Get string by string id from HII Interface
61 @retval CHAR16 * String from ID.
62 @retval NULL If error occurs.
70 return HiiGetString (gStringPackHandle
, Id
, NULL
);