NdisEqualString

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

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

Parameters

  • String1
    [in] Pointer to the first string.
  • String2
    [in] Pointer to the second string.
  • CaseInsensitive
    [in] 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.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.

See Also

NdisInitializeString

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.