NdisCompleteNetPnPEvent - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndis.h

VOID NdisCompleteNetPnPEvent(
  [in] NDIS_HANDLE                 NdisBindingHandle,
       PNET_PNP_EVENT_NOTIFICATION NetPnPEventNotification,
  [in] NDIS_STATUS                 Status
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ndis-ndiscompletenetpnpevent)

NdisCompleteNetPnPEvent function

Description

Protocol drivers call the NdisCompleteNetPnPEvent 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.

Parameters

NdisBindingHandle [in]

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.

NetPnPEventNotification

A pointer to a NET_PNP_EVENT_NOTIFICATION structure that NDIS passed to the caller's ProtocolNetPnPEvent function.

Status [in]

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.

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.

See also

NET_PNP_EVENT_NOTIFICATION

NdisOpenAdapterEx

ProtocolNetPnPEvent