NdisMUpdateSharedMemory

This function ensures that data that has just transferred from a busmaster network card and that is about to be read from driver-allocated shared memory is current.

At a Glance

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

Syntax

VOID NdisMUpdateSharedMemory(
IN NDIS_HANDLE
MiniportAdapterHandle, IN ULONG Length,
IN PVOID VirtualAddress, IN NDIS_PHYSICAL_ADDRESS PhysicalAddress );

Parameters

MiniportAdapterHandle
Handle originally input to the MiniportInitialize function.
Length
Specifies the number of bytes in the range.
VirtualAddress
Specifies the base virtual address within a range returned by the NdisMAllocateSharedMemory or the NdisMAllocateSharedMemoryAsync function.
PhysicalAddress
Specifies the physical address mapped to VirtualAddress.

Remarks

Windows CE does not support direct memory access ( DMA ) at this time. The Windows CE version of this function is a stub that does no work. When Windows CE does support DMA, this function will be more fully implemented.