Compartilhar via


NdisMResetComplete (Compact 2013)

3/26/2014

This function returns the final status of a reset request for which the miniport driver previously returned NDIS_STATUS_PENDING.

Syntax

VOID NdisMResetComplete(
  NDIS_HANDLE MiniportAdapterHandle,
  NDIS_STATUS Status,
  BOOLEAN AddressingReset
);

Parameters

  • Status
    [in] Specifies the final status of the reset operation previously completed
  • AddressingReset
    [in] Specifies TRUE if the reset affected the miniport's network address information so that it has to be reloaded.

Return Value

None.

Remarks

If the MiniportResetEx function returns NDIS_STATUS_PENDING, the miniport driver must call NdisMResetComplete when it completes the reset operation.

Protocol drivers cannot initiate a reset operation in NDIS 6.0.

Some network adapters lose all multicast address, packet filter, or functional address information when a soft reset is issued. The driver of such a network adapter sets AddressingReset to TRUE when it calls NdisMResetComplete, which causes NDIS to call its MiniportOidRequest function to restore the addressing state.

An NDIS intermediate driver either sets AddressingReset to TRUE when it calls NdisMResetComplete or restores its own addressing information, such as medium-specific functional, multicast, and/or group addresses.

A miniport driver must release any spin lock that it is holding before it calls NdisMResetComplete.

In NDIS 6.0, callers of NdisMResetComplete must run at IRQL <= DISPATCH_LEVEL. Otherwise, callers of NdisMResetComplete must run at IRQL = DISPATCH_LEVEL.

Requirements

Header

ndis.h

Library

ndis.dll

See Also

Reference

NDIS Functions for Miniport Drivers
MiniportInitialize
MiniportReset
MiniportSetInformation
NdisReset