The NdisEqualMemory function compares a specified number of characters in one block of memory with the same number of characters in a second block of memory.
void NdisEqualMemory( Source1, Source2, Length );
A pointer to the first block of memory to be compared.
A pointer to the second block of memory to be compared.
The number of bytes to be compared.
NdisEqualMemory compares two blocks of memory and uses the value that is specified in the Length parameter for both blocks. The data type of anything in the compared memory blocks is irrelevant.
Callers of NdisEqualMemory can be running at IRQL <= DISPATCH_LEVEL if both memory blocks are resident. If either block is pageable, callers must be running at IRQL < DISPATCH_LEVEL.
|Minimum supported client||Supported for existing drivers in NDIS 6.0 and later, but new drivers should use RtlEqualMemory instead.|
|Header||ndis.h (include Ndis.h)|
|IRQL||See Remarks section|
|DDI compliance rules||Irql_Miscellaneous_Function|