NetDmaDeregisterProvider function (netdma.h)

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(
  [in] PVOID NetDmaProviderHandle
);

Parameters

[in] 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

Requirement Value
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