NdisMoveMappedMemory function

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

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

Syntax

VOID NdisMoveMappedMemory(
  _Out_ PVOID Destination,
  _In_  PVOID Source,
  _In_  ULONG Length
);

Parameters

  • Destination [out]
    Specifies the base virtual address within the mapped range at which the data should be copied.

  • Source [in]
    Specifies the base virtual address within the mapped range at which the copy should begin.

  • Length [in]
    Specifies the number of bytes to copy.

Return value

None

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.

Requirements

Target platform

Desktop

Version

Not supported for NDIS 6.0 drivers in Windows Vista. Supported for NDIS 5.1 drivers in Windows Vista and Windows XP.

Header

Ndis.h (include Ndis.h)

IRQL

Any IRQL

See also

MiniportInitialize

NdisAllocateMemoryWithTag

NdisMMapIoSpace

NdisMoveFromMappedMemory

NdisMoveMemory

NdisMoveToMappedMemory

 

 

Send comments about this topic to Microsoft