TianoCore EDK2 master
Loading...
Searching...
No Matches
UnicodeCollation.h
Go to the documentation of this file.
1
11#ifndef __UNICODE_COLLATION_H__
12#define __UNICODE_COLLATION_H__
13
14#define EFI_UNICODE_COLLATION_PROTOCOL_GUID \
15 { \
16 0x1d85cd7f, 0xf43d, 0x11d2, {0x9a, 0xc, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
17 }
18
19#define EFI_UNICODE_COLLATION_PROTOCOL2_GUID \
20 { \
21 0xa4c751fc, 0x23ae, 0x4c3e, {0x92, 0xe9, 0x49, 0x64, 0xcf, 0x63, 0xf3, 0x49 } \
22 }
23
25
29#define UNICODE_COLLATION_PROTOCOL EFI_UNICODE_COLLATION_PROTOCOL_GUID
30
35
39#define EFI_UNICODE_BYTE_ORDER_MARK (CHAR16) (0xfeff)
40
41//
42// Protocol member functions
43//
44
57typedef
61 IN CHAR16 *Str1,
62 IN CHAR16 *Str2
63 );
64
77typedef
78BOOLEAN
81 IN CHAR16 *String,
82 IN CHAR16 *Pattern
83 );
84
93typedef
94VOID
97 IN OUT CHAR16 *Str
98 );
99
108typedef
109VOID
112 IN OUT CHAR16 *Str
113 );
114
127typedef
128VOID
131 IN UINTN FatSize,
132 IN CHAR8 *Fat,
133 OUT CHAR16 *String
134 );
135
150typedef
151BOOLEAN
154 IN CHAR16 *String,
155 IN UINTN FatSize,
156 OUT CHAR8 *Fat
157 );
158
168
169 //
170 // for supporting fat volumes
171 //
174
181};
182
183extern EFI_GUID gEfiUnicodeCollationProtocolGuid;
184extern EFI_GUID gEfiUnicodeCollation2ProtocolGuid;
185
186#endif
UINT64 UINTN
INT64 INTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
VOID(EFIAPI * EFI_UNICODE_COLLATION_FATTOSTR)(IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN UINTN FatSize, IN CHAR8 *Fat, OUT CHAR16 *String)
VOID(EFIAPI * EFI_UNICODE_COLLATION_STRLWR)(IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN OUT CHAR16 *Str)
BOOLEAN(EFIAPI * EFI_UNICODE_COLLATION_METAIMATCH)(IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN CHAR16 *String, IN CHAR16 *Pattern)
BOOLEAN(EFIAPI * EFI_UNICODE_COLLATION_STRTOFAT)(IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN CHAR16 *String, IN UINTN FatSize, OUT CHAR8 *Fat)
INTN(EFIAPI * EFI_UNICODE_COLLATION_STRICOLL)(IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN CHAR16 *Str1, IN CHAR16 *Str2)
EFI_UNICODE_COLLATION_PROTOCOL UNICODE_COLLATION_INTERFACE
VOID(EFIAPI * EFI_UNICODE_COLLATION_STRUPR)(IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN OUT CHAR16 *Str)
Definition: Base.h:213