Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Syntax
void NdisCompleteNetPnPEvent(
[in] NDIS_HANDLE NdisBindingHandle,
PNET_PNP_EVENT_NOTIFICATION NetPnPEventNotification,
[in] NDIS_STATUS Status
);
Parameters
[in] 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.
NetPnPEventNotification
A pointer to a NET_PNP_EVENT_NOTIFICATION structure that NDIS passed to the caller's ProtocolNetPnPEvent function.
[in] 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
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_Protocol_Driver_Function(ndis) |