Partager via


NdisCompleteNetPnPEvent (Compact 2013)

3/26/2014

Protocol drivers call this function to complete a response to a Plug and Play or Power Management event for which the caller's ProtocolNetPnPEvent function returned NDIS_STATUS_PENDING.

Syntax

VOID
  NdisCompleteNetPnPEvent(
    IN NDIS_HANDLE  NdisBindingHandle,
    IN PNET_PNP_EVENT_NOTIFICATION  NetPnPEvent,
    IN NDIS_STATUS  Status
    );

Parameters

  • NdisBindingHandle
    The handle that NDIS provided at the NdisBindingHandle parameter of the NdisOpenAdapterEx function. The handle identifies the binding between the caller and the underlying miniport adapter.
  • Status
    The protocol driver's response to the pending Plug and Play or Power Management event notification. To succeed such an event, specify NDIS_STATUS_SUCCESS. For information about other status values, see the return values of the ProtocolNetPnPEvent function

Return Value

None

Remarks

When a protocol driver returns NDIS_STATUS_PENDING from its ProtocolNetPnPEvent function, it must eventually call NdisCompleteNetPnPEvent to indicate its response to the given Plug and Play or Power Management notification.

Requirements

Header

ndis.h

See Also

Reference

NDIS Functions for Protocol Drivers
NdisOpenAdapterEx
NET_PNP_EVENT_NOTIFICATION
ProtocolNetPnPEvent