NetDmaDeregisterProvider function

Note  The NetDMA interface is not supported

in Windows 8 and later.

 
The NetDmaDeregisterProvider function deregisters a DMA provider.

Syntax

NET_DMA_EXPORT VOID NetDmaDeregisterProvider(
  PVOID NetDmaProviderHandle
);

Parameters

NetDmaProviderHandle

A handle that identifies a DMA provider. The DMA provider driver received this handle from the NetDMA interface in a call to the NetDmaRegisterProvider function.

Return Value

None

Remarks

DMA provider drivers call the NetDmaDeregisterProvider function to deregister a DMA provider that was previously registered by calling the NetDmaRegisterProvider function.

The DMA provider driver must call the NetDmaProviderStop function before it deregisters a DMA provider. The DMA provider driver calls NetDmaProviderStop to notify the NetDMA interface that a previously started DMA provider is no longer available.

A DMA provider driver typically calls the NetDmaDeregisterProvider function in the context of processing the IRP_MN_REMOVE_DEVICE IRP for the DMA provider.

Call NetDmaDeregisterProvider at IRQL = PASSIVE_LEVEL.

Requirements

   
Minimum supported client Supported for NetDMA 1.0 drivers in Windows Vista.
Target Platform Universal
Header netdma.h (include Netdma.h)
IRQL PASSIVE_LEVEL

See Also

IRP_MN_REMOVE_DEVICE

NetDmaProviderStop

NetDmaRegisterProvider