NdisEqualMemory macro (ndis.h)
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.
Syntax
void NdisEqualMemory(
Source1,
Source2,
Length
);
Parameters
Source1
A pointer to the first block of memory to be compared.
Source2
A pointer to the second block of memory to be compared.
Length
The number of bytes to be compared.
Return value
None
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported for existing drivers in NDIS 6.0 and later, but new drivers should use RtlEqualMemory instead. |
Target Platform | Desktop |
Header | ndis.h (include Ndis.h) |
IRQL | See Remarks section |
DDI compliance rules | Irql_Miscellaneous_Function(ndis) |