Compartir a través de


NdisIMDeInitializeDeviceInstance (Windows CE 5.0)

Send Feedback

This function calls an NDIS intermediate driver's MiniportHalt function to tear down the driver's virtual NIC.

NDIS_STATUS NdisIMDeInitializeDeviceInstance(NDIS_HANDLENdisMiniportHandle);

Parameters

Return Values

Value Description
NDIS_STATUS_SUCCESS If the NIC has been torn down.
NDIS_STATUS_FAILURE If the given NdisMiniportHandle is invalid.

Remarks

For NDIS intermediate drivers, NdisIMDeInitializeDeviceInstance is the reciprocal of NdisIMInitializeDeviceInstanceEx. Such a driver usually calls NdisIMDeInitializeDeviceInstanceEx from its ProtocolUnbindAdapter function, when the underlying NIC to which it was bound is being removed from the system, possibly because it is being reconfigured.

The call to NdisIMDeInitializeDeviceInstance causes a call to the intermediate driver's MiniportHalt function after NDIS has told all higher-level protocols that had bound themselves to the intermediate's virtual NIC that they must unbind.

Requirements

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

See Also

MiniportInitialize | MiniportHalt | NdisIMInitializeDeviceInstance | NdisIMInitializeDeviceInstanceEx | ProtocolUnbindAdapter

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.