Share via


NdisMoveFromMappedMemory (Windows CE 5.0)

Send Feedback

This function copies data from device memory that was mapped during initialization with the NdisMMapIoSpace function to a system-space buffer.

VOID NdisMoveFromMappedMemory(PVOIDDestination,PVOIDSource,ULONGLength);

Parameters

  • Destination
    [out] Pointer to a system-space buffer into which this function copies data from mapped device memory. This buffer must be at least Length bytes in size.
  • Source
    [in] Specifies the base virtual address within mapped device memory from which to copy the data. This address must fall at least Length bytes from the end of the mapped range.
  • Length
    [in] Specifies the number of bytes to copy.

Return Values

None.

Remarks

An NIC driver calls this function to copy data from NIC memory into a buffer in the host, as, for example, when transferring received data into a protocol-supplied buffer or miniport-allocated staging buffer.

Both the Source and Destination pointers are virtual addresses. The virtual range specified by Source and Length must fall within a range of device memory that was mapped during initialization with the NdisMMapIoSpace function.

Requirements

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

See Also

NdisAllocateMemory | NdisMMapIoSpace | NdisMoveMappedMemory | NdisMoveToMappedMemory

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.