RtlCompareUnicodeString function
Compares two Unicode strings.
Syntax
LONG RtlCompareUnicodeString(
_In_ PCUNICODE_STRING String1,
_In_ PCUNICODE_STRING String2,
_In_ BOOLEAN CaseInSensitive
);
Parameters
-
String1 [in]
-
Pointer to the first string.
-
String2 [in]
-
Pointer to the second string.
-
CaseInSensitive [in]
-
If TRUE, case should be ignored when doing the comparison.
Return value
A signed value that gives the results of the comparison:
Return code | Description |
---|---|
|
String1 equals String2. |
|
String1 is less than String2. |
|
String1 is greater than String2. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Target platform |
|
Header |
|
Library |
|
DLL |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for