TianoCore EDK2 master
|
#include "InternalHiiLib.h"
Go to the source code of this file.
Functions | |
CHAR8 *EFIAPI | HiiGetSupportedLanguages (IN EFI_HII_HANDLE HiiHandle) |
Language related HII Library implementation.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file HiiLanguage.c.
CHAR8 *EFIAPI HiiGetSupportedLanguages | ( | IN EFI_HII_HANDLE | HiiHandle | ) |
Retrieves a pointer to the a Null-terminated ASCII string containing the list of languages that an HII handle in the HII Database supports. The returned string is allocated using AllocatePool(). The caller is responsible for freeing the returned string using FreePool(). The format of the returned string follows the language format assumed the HII Database.
If HiiHandle is NULL, then ASSERT().
[in] | HiiHandle | A handle that was previously registered in the HII Database. |
NULL | HiiHandle is not registered in the HII database |
NULL | There are not enough resources available to retrieve the supported languages. |
NULL | The list of supported languages could not be retrieved. |
Other | A pointer to the Null-terminated ASCII string of supported languages. |
Definition at line 31 of file HiiLanguage.c.