Partager via


NdisEqualString (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

Returns TRUE if the two strings are equal.

Remarks

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

Requirements

Header ndis.h
Library ndis.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
NdisInitializeString