The RtlPrefixUnicodeString routine compares two Unicode strings to determine whether one string is a prefix of the other.
BOOLEAN
RtlPrefixUnicodeString(
IN PUNICODE_STRING String1,
IN PUNICODE_STRING String2,
IN BOOLEAN CaseInSensitive
);
RtlPrefixUnicodeString returns TRUE if String1 is a prefix of String2.
Declared in ntddk.h. Include ntddk.h.
Callers of RtlPrefixUnicodeString must be running at IRQL = PASSIVE_LEVEL.