Freigeben über


FilterDevicePnPEventNotify (Compact 2013)

3/26/2014

NDIS calls a filter driver's FilterDevicePnPEventNotify function to notify the driver of device Plug and Play (PnP) and Power Management events.

Syntax

VOID
  FilterDevicePnPEventNotify(
    IN NDIS_HANDLE  FilterModuleContext,
    IN PNET_DEVICE_PNP_EVENT  NetDevicePnPEvent
    );

Parameters

  • FilterModuleContext
    A handle to the context area for the filter module. The filter driver created and initialized this context area in 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

FilterDevicePnPEventNotify is an optional function. If a filter driver does not use device PnP requests, it can set the entry point for this function to NULL when it calls the NdisFRegisterFilterDriver function.

FilterDevicePnPEventNotify resembles a miniport driver's MiniportDevicePnPEventNotify function. Filter drivers can forward these notifications to underlying drivers. To forward a request, call the NdisFDevicePnPEventNotify function.

NDIS calls FilterDevicePnPEventNotify at IRQL = PASSIVE_LEVEL.

Requirements

Header

filter.h

See Also

Reference

NDIS Filter Driver Functions
FilterAttach
MiniportDevicePnPEventNotify
NdisFDevicePnPEventNotify
NdisFRegisterFilterDriver
NET_DEVICE_PNP_EVENT