Freigeben über


ProtocolResetComplete (Compact 2013)

3/26/2014

This function is a required driver function that completes a protocol-initiated reset operation for which NdisReset returned NDIS_STATUS_PENDING.

Syntax

VOID ProtocolResetComplete(
  NDIS_HANDLE ProtocolBindingContext,
  NDIS_STATUS Status
);

Parameters

  • ProtocolBindingContext
    [in] Specifies the handle to a protocol-allocated context area in which the protocol driver maintains per-binding runtime state. The driver supplied this handle when it called NdisOpenAdapter.
  • Status
    [in] Specifies the final status of the protocol-initiated reset operation.

Return Value

None.

Remarks

ProtocolResetComplete completes processing for an asynchronous reset of the underlying driver's network adapter or virtual network adapter.

The underlying miniport's call to NdisMResetComplete causes NDIS to call the ProtocolResetComplete function. NDIS forwards the miniport-determined Status passed to NdisMResetComplete as the input Status to ProtocolStatusComplete.

ProtocolResetComplete can be called before the protocol has had time to inspect the status code that NdisReset returns at Status.

Requirements

Header

ndis.h

Library

Ndislib.lib

See Also

Reference

NDIS 5.x Legacy Functions
MiniportReset
NdisOpenAdapter
NdisMResetComplete
NdisReset
ProtocolStatus
ProtocolStatusComplete