NdisCompleteBufferPhysicalMapping

VOID
    NdisCompleteBufferPhysicalMapping(
        IN NDIS_HANDLE  NdisAdapterHandle,
        IN PNDIS_BUFFER  Buffer,
        IN ULONG  PhysicalMapRegister
        );

NdisCompleteBufferPhysicalMapping is called by the NIC driver to indicate to the operating system that a physical address mapping is no longer needed.

Parameters

NdisAdapterHandle
Identifies the handle that the NDIS interface library associates with the network interface card.
Buffer
Points to a buffer descriptor.
PhysicalMapRegister
Specifies the index of the map register used for the mapping.

Comments

This function releases map registers allocated with a preceding call to NdisStartBufferPhysicalMapping when a DMA transfer is complete.

Callers of NdisCompleteBufferPhysicalMapping run at IRQL <= DISPATCH_LEVEL.

See Also

NdisStartBufferPhysicalMapping