NdisMoveMappedMemory

This function copies data from one location to another within a device memory range that was mapped during initialization with the NdisMMapIoSpace function.

At a Glance

Header file: Ndis.h
Windows CE versions: 2.0 and later

Syntax

VOID NdisMoveMappedMemory( OUT PVOID Destination,
IN PVOID Source, IN ULONG Length );

Parameters

Destination
Specifies the base virtual address within the mapped range at which the data should be copied.
Source
Specifies the base virtual address within the mapped range at which the copy should begin.
Length
Specifies the number of bytes to copy.

Remarks

Both the Source and Destination pointers are virtual addresses. The virtual ranges specified both by Destination and Length and by Source and Length must fall within the range that was mapped during initialization with NdisMMapIoSpace.

A driver that calls this function can run at any IRQL.

See Also

NdisAllocateMemory, NdisMMapIoSpace, NdisMoveFromMappedMemory, NdisMoveMemory, NdisMoveToMappedMemory