NdisEqualUnicodeString macro

The NdisEqualUnicodeString function compares two Unicode strings and returns whether they are equal.

Syntax

void NdisEqualUnicodeString(
   _String1,
   _String2,
   _CaseInsensitive
);

Parameters

_String1

A pointer to an NDIS_STRING type that describes the first Unicode string.

_String2

A pointer to an NDIS_STRING type that describes the second Unicode string.

_CaseInsensitive

A Boolean value that is TRUE, if case should be ignored when doing the comparison. Otherwise, it is FALSE.

Return Value

None

Remarks

Starting with Windows 2000 and later drivers, a string of type NDIS_STRING is a counted, null-terminated Unicode string. That is, NDIS defines the NDIS_STRING type as a UNICODE_STRING type.

Requirements

   
Minimum supported client Supported for existing drivers in NDIS 6.0 and later, but new drivers should use RtlEqualUnicodeString instead.
Target Platform Desktop
Header ndis.h (include Ndis.h)
IRQL PASSIVE_LEVEL
DDI compliance rules Irql_Miscellaneous_Function

See Also

UNICODE_STRING