Unicode_collation.metaimatch(), Metaimatch(), Func – Intel Extensible Firmware Interface User Manual
Page 413

Protocols
— Bootable Image Support
Version 1.10
12/01/02
11-53
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_METAIMATCH) (
IN
UNICODE_COLLATION_INTERFACE
*This,
IN
CHAR16
*String,
IN
CHAR16
*Pattern
);
Parameters
This
A pointer to the
instance. Type
UNICODE_COLLATION_INTERFACE
is
defined in Section 11.7.
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.
[
Match any character in the set.
[
Match any character between
and
Match the character