NdisIMRevertBack (Windows CE 5.0)

Send Feedback

This function returns the function of an intermediate driver to the context in which it was executing before it called the NdisIMSwitchToMiniport function.

VOID_NdisIMRevertBack (IN NDIS_HANDLE MiniportAdapterHandle,IN NDIS_HANDLESwitchHandle,);

Parameters

  • MiniportAdapterHandle
    Handle input to the MiniportInitialize function.
  • SwitchHandle
    Handle returned by the immediately preceding call to the NdisIMSwitchToMiniport function.

Return Values

None

Remarks

An intermediate driver should call this function as quickly as possible after a driver function makes a successful call to NdisIMSwitchToMiniport.

For example, after a successful call to NdisIMSwitchToMiniport, the ProtocolXXX function of an NDIS intermediate driver can safely call NdisMXXX functions commonly called from the MiniportHandleInterrupt or the MiniportTimer functions of underlying network adapter drivers. In particular, such a ProtocolXXX function can call NdisMXXX functions that indicate up to higher-level protocols bound to the intermediate driver's virtual network adapter.

Until it calls this function, the execution of such a ProtocolXXX function prevents other MiniportXXX functions in the same driver from running.

A call to this function without a SwitchHandle returned by a preceding call to NdisIMSwitchToMiniport is a fatal error.

Requirements

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

See Also

MiniportHandleInterrupt | MiniportInitialize | NdisIMSwitchToMiniport | NdisMEthIndicateReceive | NdisMIndicateReceivePacket | NdisMIndicateStatus

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.