Share via


ProtocolResetComplete (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Lower-Edge Functions
MiniportReset
NdisOpenAdapter
NdisMResetComplete
NdisReset
ProtocolStatus
ProtocolStatusComplete