This function copies a specified number of bytes from one caller-supplied location to another.
Header file: | Ndis.h |
Windows CE versions: | 2.0 and later |
VOID NdisMoveMemory( OUT PVOID Destination, IN PVOID Source,
IN ULONG Length );
Both Source and Destination are virtual addresses.
If either address falls within a range of device memory that was mapped with the NdisMMapIoSpace function, an NIC driver calls one of the NdisXXXMappedMemory functions instead of this function.
The range specified by Source and Length cannot overlap the Destination range.
A driver that calls this function can run at any IRQL if the given Source and Destination are resident. Otherwise, a driver that calls this function must be running at IRQL < DISPATCH_LEVEL, as, for example if either address is on the stack.
NdisAllocateMemory, NdisMMapIoSpace, NdisMoveFromMappedMemory, NdisMoveMappedMemory, NdisMoveToMappedMemory