TianoCore EDK2 master
Loading...
Searching...
No Matches
HiiLanguage.c File Reference
#include "InternalHiiLib.h"

Go to the source code of this file.

Functions

CHAR8 *EFIAPI HiiGetSupportedLanguages (IN EFI_HII_HANDLE HiiHandle)
 

Detailed Description

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.

Function Documentation

◆ HiiGetSupportedLanguages()

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().

Parameters
[in]HiiHandleA handle that was previously registered in the HII Database.
Return values
NULLHiiHandle is not registered in the HII database
NULLThere are not enough resources available to retrieve the supported languages.
NULLThe list of supported languages could not be retrieved.
OtherA pointer to the Null-terminated ASCII string of supported languages.

Definition at line 31 of file HiiLanguage.c.