ShellPkg/Level2Command: Use UnicodeCollation in StrinCmp
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
This commit is contained in:
@ -280,16 +280,17 @@ VerifyIntermediateDirectories (
|
||||
);
|
||||
|
||||
/**
|
||||
CaseInsensitive length limited string comparison.
|
||||
String comparison without regard to case for a limited number of characters.
|
||||
|
||||
@param[in] Source Pointer to first string.
|
||||
@param[in] Target Pointer to second string.
|
||||
@param[in] Count Number of characters to compare.
|
||||
@param[in] Source The first item to compare.
|
||||
@param[in] Target The second item to compare.
|
||||
@param[in] Count How many characters to compare.
|
||||
|
||||
@retval 0 The strings are the same.
|
||||
@return non-zero if the strings are different.
|
||||
@retval 0 Source and Target are identical strings without regard to case.
|
||||
@retval !=0 Source is not identical to Target.
|
||||
|
||||
**/
|
||||
CONST CHAR16*
|
||||
INTN
|
||||
StrniCmp(
|
||||
IN CONST CHAR16 *Source,
|
||||
IN CONST CHAR16 *Target,
|
||||
|
Reference in New Issue
Block a user