NdisEqualUnicodeString macro (ndis.h)
The NdisEqualUnicodeString function compares two Unicode strings and returns whether they are equal.
Syntax
void NdisEqualUnicodeString(
[in] _String1,
[in] _String2,
_CaseInsensitive
);
Parameters
[in] _String1
A pointer to an NDIS_STRING type that describes the first Unicode string.
[in] _String2
A pointer to an NDIS_STRING type that describes the second Unicode string.
_CaseInsensitive
A Boolean value that is TRUE, if case should be ignored when doing the comparison. Otherwise, it is FALSE.
Return value
None
Remarks
Starting with Windows 2000 and later drivers, a string of type NDIS_STRING is a counted, null-terminated Unicode string. That is, NDIS defines the NDIS_STRING type as a UNICODE_STRING type.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported for existing drivers in NDIS 6.0 and later, but new drivers should use RtlEqualUnicodeString instead. |
Target Platform | Desktop |
Header | ndis.h (include Ndis.h) |
IRQL | PASSIVE_LEVEL |
DDI compliance rules | Irql_Miscellaneous_Function(ndis) |