Share via


ProtocolResetComplete

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

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 Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.
Link Library: Ndislib.lib.

See Also

MiniportReset | NdisOpenAdapter | NdisMResetComplete | NdisReset | ProtocolStatus | ProtocolStatusComplete

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.