Bewerken

Delen via


NdisFDevicePnPEventNotify function (ndis.h)

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

[in] NdisFilterHandle

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

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

Requirement Value
Minimum supported client 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(ndis)

See also

FilterAttach

FilterDevicePnPEventNotify

NET_DEVICE_PNP_EVENT