RtlEqualUnicodeString - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

/**
 * The RtlEqualUnicodeString routine compares two Unicode strings to determine whether they are equal.
 *
 * \param[in] String1 Pointer to the first Unicode string.
 * \param[in] String2 Pointer to the second Unicode string.
 * \param[in] CaseInSensitive If TRUE, case should be ignored when doing the comparison.
 * \return TRUE if the two Unicode strings are equal; otherwise, it returns FALSE.
 * \sa https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-rtlequalunicodestring
 */
_Must_inspect_result_
NTSYSAPI
BOOLEAN
NTAPI
RtlEqualUnicodeString(
    _In_ PCUNICODE_STRING String1,
    _In_ PCUNICODE_STRING String2,
    _In_ BOOLEAN CaseInSensitive
    );

#endif

View code on GitHub
// wdm.h

NTSYSAPI BOOLEAN RtlEqualUnicodeString(
  [in] PCUNICODE_STRING String1,
  [in] PCUNICODE_STRING String2,
  [in] BOOLEAN          CaseInSensitive
);

View the official Windows Driver Kit DDI reference

NtDoc

This function is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (nf-wdm-rtlequalunicodestring)

RtlEqualUnicodeString function

Description

The RtlEqualUnicodeString routine compares two Unicode strings to determine whether they are equal.

Parameters

String1 [in]

Pointer to the first Unicode string.

String2 [in]

Pointer to the second Unicode string.

CaseInSensitive [in]

If TRUE, case should be ignored when doing the comparison.

Return value

RtlEqualUnicodeString returns TRUE if the two Unicode strings are equal; otherwise, it returns FALSE.

See also

RtlEqualString