2 Head file for Unicode Collation Protocol (English)
4 Copyright (c) 2006 - 2008, Intel Corporation. <BR>
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef _UNICODE_COLLATION_ENG_H
16 #define _UNICODE_COLLATION_ENG_H
23 #include <Protocol/UnicodeCollation.h>
25 #include <Library/DebugLib.h>
26 #include <Library/UefiDriverEntryPoint.h>
27 #include <Library/UefiBootServicesTableLib.h>
28 #include <Library/PcdLib.h>
33 #define CHAR_FAT_VALID 0x01
35 #define ToUpper(a) (CHAR16) (a <= 0xFF ? mEngUpperMap[a] : a)
36 #define ToLower(a) (CHAR16) (a <= 0xFF ? mEngLowerMap[a] : a)
44 IN EFI_UNICODE_COLLATION_PROTOCOL
*This
,
53 IN EFI_UNICODE_COLLATION_PROTOCOL
*This
,
62 IN EFI_UNICODE_COLLATION_PROTOCOL
*This
,
70 IN EFI_UNICODE_COLLATION_PROTOCOL
*This
,
78 IN EFI_UNICODE_COLLATION_PROTOCOL
*This
,
88 IN EFI_UNICODE_COLLATION_PROTOCOL
*This
,
97 InitializeUnicodeCollationEng (
98 IN EFI_HANDLE ImageHandle
,
99 IN EFI_SYSTEM_TABLE
*SystemTable