Compartir a través de


Freeing a NetDMA Channel

Note  The NetDMA interface is not supported in Windows 8 and later.

The NetDMA interface calls a NetDMA provider driver's ProviderFreeDmaChannel function to free a dynamic memory access (DMA) channel that was previously allocated in the ProviderAllocateDmaChannel function. For more information about allocating DMA channels, see Allocating a NetDMA Channel.

Before the NetDMA interface calls ProviderFreeDmaChannel, it ensures that there are no outstanding DMA operations on the DMA channel that the interface will free.

After the NetDMA interface calls ProviderFreeDmaChannel, it will not call any ProviderXxx functions for the freed channel.

The NetDMA interface frees all of the allocated DMA channels before it returns from the NetDmaProviderStop function. For more information about stopping a NetDMA provider, see Stopping a NetDMA Provider.