NdisEqualString

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

NdisEqualString compares two strings, in the OS-default character set, to determine whether they are equal.

Parameters

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

Return Value

NdisEqualString returns TRUE if the two strings are equal.

Comments

For Windows NT drivers, a string of type NDIS_STRING is a counted, zero-terminated Unicode string.

Callers of NdisEqualString run at IRQL PASSIVE_LEVEL.

See Also

MiniportInitialize, NdisInitializeString, ProtocolBindAdapter