NdisEqualString

This function compares two strings in the OS-default character set to determine whether the strings are equal.

At a Glance

Header file: Ndis.h
Windows CE versions: 2.0 and later

Syntax

BOOLEAN NdisEqualString( IN PNDIS_STRING String1,
IN PNDIS_STRING String2, IN BOOLEAN CaseInsensitive );

Parameters

String1
Pointer to the first string.
String2
Pointer to the second string.
CaseInsensitive
Specifies TRUE if case should be ignored when doing the comparison.

Return Values

Returns TRUE if the two strings are equal.

Remarks

For Windows CE drivers, a string of type NDIS_STRING is a counted, 0-terminated Unicode string.

A driver that calls this function runs at IRQL PASSIVE_LEVEL.

See Also

NdisInitializeString