RtlPrefixUnicodeString function (ntddk.h)
The RtlPrefixUnicodeString routine compares two Unicode strings to determine whether one string is a prefix of the other.
Syntax
NTSYSAPI BOOLEAN RtlPrefixUnicodeString(
[in] PCUNICODE_STRING String1,
[in] PCUNICODE_STRING String2,
[in] BOOLEAN CaseInSensitive
);
Parameters
[in] String1
Pointer to the first string, which might be a prefix of the buffered Unicode string at String2.
[in] String2
Pointer to the second string.
[in] CaseInSensitive
If TRUE, case should be ignored when doing the comparison.
Return value
RtlPrefixUnicodeString returns TRUE if String1 is a prefix of String2.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 2000. |
Target Platform | Universal |
Header | ntddk.h (include Ntddk.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | PASSIVE_LEVEL |