Extensible Firmware Interface Specification
228 12/12/00 Version 1.02
13.1.2 UNICODE_COLLATION.MetaiMatch()Summary
Performs a case-insensitive comparison of a Null-terminated Unicode pattern string and a Null-
terminated Unicode string.
Prototype
BOOLEAN
(EFIAPI *EFI_UNICODE_COLLATION_STRICOLL) (
IN UNICODE_COLLATION_INTERFACE *This,
IN CHAR16 *String,
IN CHAR16 *Pattern
);
Parameters
This A pointer to the UNICODE_COLLATION_INTERFACE
instance. Type UNICODE_COLLATION_INTERFACE is
defined in Section 13.1.
String A pointer to a Null-terminated Unicode string.
Pattern A pointer to a Null-terminated Unicode pattern string.
Description
The MetaiMatch() function performs a case-insensitive comparison of a Null-terminated
Unicode pattern string and a Null-terminated Unicode string.
This function checks to see if the pattern of characters described by Pattern are found in
String. The pattern check is a case-insensitive comparison using the rules for the language codes
that this protocol instance supports. If the pattern match succeeds, then TRUE is returned.
Otherwise FALSE is returned. The following syntax can be used to build the string Pattern.
*Match 0 or more characters.
?Match any one character.
[<char1><char2>…<charN>]Match any character in the set.
[<char1>-<char2>]Match any character between <char1> and
<char2>.
<char> Match the character <char>.