Bewerken

Delen via


NetDmaPnPEventNotify function (netdma.h)

Note  The NetDMA interface is not supported

in Windows 8 and later.

 
The NetDmaPnPEventNotify function indicates a power state change for a NetDMA provider device.

Syntax

NET_DMA_EXPORT VOID NetDmaPnPEventNotify(
  [in] PVOID                     NetDmaProviderHandle,
  [in] PNET_DMA_PNP_NOTIFICATION PnPEvent
);

Parameters

[in] NetDmaProviderHandle

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

[in] PnPEvent

A pointer to a NET_DMA_PNP_NOTIFICATION structure that specifies a NetDMA PnP and power management event.

Return value

This function does not return a value.

Remarks

NetDMA provider drivers call the NetDmaPnPEventNotify function to indicate a power state change for a NetDMA provider device.

To send a power management notification to the NetDMA interface, NetDMA provider drivers call the NetDmaPnPEventNotify function and provide a pointer to a NET_DMA_PNP_NOTIFICATION structure at the PnPEvent parameter.

A NetDMA provider driver calls NetDmaPnPEventNotify at IRQL = PASSIVE_LEVEL.

Requirements

Requirement Value
Minimum supported client Supported for NetDMA 2.0 and NetDMA 1.1 drivers in Windows Server 2008.
Target Platform Universal
Header netdma.h (include Netdma.h)
IRQL PASSIVE_LEVEL

See also

NET_DMA_PNP_NOTIFICATION

NetDmaRegisterProvider