Поделиться через


NdisMResetComplete (Windows Embedded CE 6.0)

1/6/2010

This function returns the final status of a reset request for the NIC driver that 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 just completed
  • AddressingReset
    [in] Specifies TRUE if the reset affected the miniport's network address information so that it needs to be reloaded.

Return Value

None.

Remarks

If the MiniportReset function returns NDIS_STATUS_PENDING, the miniport must call this function when it completes the reset operation. This call causes NDIS to forward the completion-status information to the protocol driver, if any that called NdisReset to initiate the call to MiniportReset.

The NDIS library can also call the MiniportReset function, independently of any reset requests from protocol drivers bound to a particular NIC, when NDIS determines that a sent packet or a request that it submitted to the miniport has timed out.

Some NICs lose all multicast address, packet filter, or functional address information when a soft reset is issued. The driver of such an NIC sets AddressingReset to TRUE when it calls this function, causing NDIS to call its MiniportSetInformation function to restore the addressing state.

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

Requirements

Header ndis.h
Library ndis.dll
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
MiniportInitialize
MiniportReset
MiniportSetInformation
NdisReset