This function returns the final status of a reset request for the NIC driver that previously returned NDIS_STATUS_PENDING.
Header file: | Ndis.h |
Windows CE versions: | 2.0 and later |
VOID NdisMResetComplete( IN NDIS_HANDLE MiniportAdapterHandle,
IN NDIS_STATUS Status, IN BOOLEAN AddressingReset );
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.
A driver that calls this function runs at IRQL DISPATCH_LEVEL.