src/boot/hii.h
raw| 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 | #pragma once |
| 3 | |
| 4 | #include "efi.h" |
| 5 | |
| 6 | /* Queries the firmware's HII database for the currently-active keyboard layout and returns the RFC 4646 |
| 7 | * language tag (e.g. u"de-DE") embedded in the layout description bundle. Returns NULL if the protocol |
| 8 | * is not provided, the table is malformed, or no language tag is present. */ |
| 9 | char16_t *hii_query_keyboard_layout_language(void); |