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