NdisFDevicePnPEventNotify function

A filter driver can call the NdisFDevicePnPEventNotify function to forward a device Plug and Play (PnP) or Power Management event to underlying drivers.

Syntax

VOID NdisFDevicePnPEventNotify(
  _In_ NDIS_HANDLE           NdisFilterHandle,
  _In_ PNET_DEVICE_PNP_EVENT NetDevicePnPEvent
);

Parameters

NdisFilterHandle

The NDIS handle that identifies this filter module. NDIS passed the handle to the filter driver in a call to the FilterAttach function.

NetDevicePnPEvent

A pointer to a NET_DEVICE_PNP_EVENT structure that describes a device Plug and Play event.

Return Value

None

Remarks

NDIS calls a filter driver's FilterDevicePnPEventNotify function to notify the filter driver of device PnP and Power Management events that affect an underlying device object.

Filter drivers can forward these notifications to underlying drivers. To forward a request, call the NdisFDevicePnPEventNotify function before returning from the FilterDevicePnPEventNotify function.

Requirements

   
Windows version Supported in NDIS 6.0 and later. Supported in NDIS 6.0 and later.
Target Platform Desktop
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL PASSIVE_LEVEL
DDI compliance rules Irql_Filter_Driver_Function

See Also

NET_DEVICE_PNP_EVENT

FilterDevicePnPEventNotify

FilterAttach

Send comments about this topic to Microsoft