NdisFNetPnPEvent function

A filter driver can call the NdisFNetPnPEvent function to forward a network Plug and Play (PnP) or Power Management event to overlying drivers.

Syntax

NDIS_STATUS NdisFNetPnPEvent(
  _In_ NDIS_HANDLE                 FilterModuleContext,
  _In_ PNET_PNP_EVENT_NOTIFICATION NetPnPEvent
);

Parameters

NdisFilterHandle

TBD

NetPnPEventNotification

TBD

Return Value

NdisFNetPnPEvent can return either of the following:

Return code Description
NDIS_STATUS_SUCCESS
The overlying driver succeeded in processing the PnP event.
NDIS_STATUS_FAILURE
The overlying driver failed the PnP event.

Remarks

NDIS calls a filter driver's FilterNetPnPEvent function to notify the filter driver of network PnP and Power Management events.

Filter drivers can forward these notifications to overlying drivers. To forward a request, call the NdisFNetPnPEvent function from FilterNetPnPEvent.

Note NDIS drivers must not call NdisFNetPnPEvent from within the context of the FilterOidRequest function.

Requirements

   
Windows version 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

FilterOidRequest

FilterAttach

FilterNetPnPEvent

NET_PNP_EVENT_NOTIFICATION

Send comments about this topic to Microsoft