NdisEqualUnicodeString (NDIS 5.1) function

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

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

Syntax

BOOLEAN NdisEqualUnicodeString(
  _In_ PNDIS_STRING String1,
  _In_ PNDIS_STRING String2,
  _In_ BOOLEAN      CaseInSensitive
);

Parameters

  • String1 [in]
    Pointer to an NDIS_STRING type that describes the first Unicode string.

  • String2 [in]
    Pointer to an NDIS_STRING type that describes the second Unicode string.

  • CaseInSensitive [in]
    If TRUE, case should be ignored when doing the comparison.

Return value

NdisEqualUnicodeString returns TRUE if the two Unicode strings are equal.

Remarks

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

Requirements

Target platform

Desktop

Version

See NdisEqualUnicodeString.

Header

Ndis.h (include Ndis.h)

IRQL

PASSIVE_LEVEL

See also

NdisEqualString

UNICODE_STRING

 

 

Send comments about this topic to Microsoft