NdisMoveMemory

This function copies a specified number of bytes from one caller-supplied location to another.

VOID NdisMoveMemory(
  PVOID Destination,
  PVOID Source,
  ULONG Length
);

Parameters

  • Destination
    [out] Pointers to a system-space buffer that is the destination of the move. This buffer must be at least Length bytes in size.
  • Source
    [in] Pointer to a system-space buffer from which this function copies the data to the destination buffer. This buffer must be at least Length bytes in size.
  • Length
    [in] Specifies the number of bytes to copy.

Return Values

None.

Remarks

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.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.
Link Library: Ndis.dll.

See Also

NdisAllocateMemory | NdisMMapIoSpace | NdisMoveFromMappedMemory | NdisMoveMappedMemory | NdisMoveToMappedMemory

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.