]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/Keyboard.c
1) Add in support for Framework VFR file which specify all VAR Store correctly. This...
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / FrameworkHiiToUefiHiiThunk / Keyboard.c
1 /**@file
2
3 This file contains the keyboard processing code to the HII database.
4
5 Copyright (c) 2006 - 2008, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14 **/
15
16
17 #include "HiiDatabase.h"
18
19 /**
20 Retrieves the current keyboard layout.
21 This function is not implemented by HII Thunk Module.
22
23 @param This A pointer to the EFI_HII_PROTOCOL instance.
24 @param DescriptorCount A pointer to the number of Descriptor entries being described in the keyboard layout being retrieved.
25 @param Descriptor A pointer to a buffer containing an array of EFI_KEY_DESCRIPTOR entries. Each entry will reflect the definition of a specific physical key. Type EFI_KEY_DESCRIPTOR is defined in "Related Definitions" below.
26
27 @retval EFI_SUCCESS The keyboard layout was retrieved successfully.
28
29 **/
30 EFI_STATUS
31 EFIAPI
32 HiiGetKeyboardLayout (
33 IN EFI_HII_PROTOCOL *This,
34 OUT UINT16 *DescriptorCount,
35 OUT FRAMEWORK_EFI_KEY_DESCRIPTOR *Descriptor
36 )
37 {
38 ASSERT (FALSE);
39 //
40 // In previous Framewok HII implementation, GetKeyBoardLayout is defined in HII 0.92 specification,
41 // but it is not implemented. We ASSERT and return UNSUPPORTED here.
42 //
43 return EFI_UNSUPPORTED;
44 }