Microsoft Windows CE 3.0  

NdisMoveMemory

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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

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

Parameters

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

Remarks

Both Sourceand Destinationare virtual addresses.

If either address falls within a range of device memory that was mapped with the NdisMMapIoSpacefunction, an NIC driver calls one of the Ndis XXXMappedMemoryfunctions instead of this function.

The range specified by Sourceand Lengthcannot overlap the Destinationrange.

A driver that calls this function can run at any IRQL if the given Sourceand Destinationare 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.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Ndis.h    
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

NdisAllocateMemory, NdisMMapIoSpace, NdisMoveFromMappedMemory, NdisMoveMappedMemory, NdisMoveToMappedMemory



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.