Share via


NdisFDevicePnPEventNotify (Compact 7)

3/12/2014

A filter driver can call this 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

Header

ndis.h

See Also

Reference

NDIS Functions for Filter Drivers
FilterAttach
FilterDevicePnPEventNotify
NET_DEVICE_PNP_EVENT