NdisEqualMemory (Compact 2013)
3/26/2014
This 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
ULONG NdisEqualMemory(
CONST VOID* Source1,
CONST VOID* Source2,
ULONG Length
);
Parameters
- Source1
Points to the first block of memory to be compared.
- Source2
Points to the second block of memory to be compared.
- Length
Specifies the number of bytes to be compared.
Return Value
The default return value is 0. If the compared blocks are the same, the return value is 1. 0therwise, this function returns a 0.
Remarks
NdisEqualMemory compares the initial Length bytes in the first block of memory to the initial Length bytes in the second block of memory. 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
Header |
ndis.h |
Library |
ndis.lib |
See Also
Reference
NDIS Memory Interface
NdisAllocateMemory
NdisFillMemory
NdisFreeMemory
NdisMoveMemory
NdisZeroMemory