Note NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.
NdisIMDeregisterLayeredMiniport releases a previously registered intermediate driver.
- DriverHandle [in]
Specifies the handle returned by NdisIMRegisterLayeredMiniport.
An intermediate driver that called NdisIMRegisterLayeredMiniport from its DriverEntry routine must call NdisIMDeregisterLayeredMiniport when it cleans up the resources it allocated before it is unloaded. If the intermediate driver encounters a fatal initialization error within its DriverEntry routine, such as an inability to obtain system resources, it must call NdisIMDeregisterLayeredMiniport.
The NdisIMDeregisterLayeredMiniport function is the reciprocal of NdisIMRegisterLayeredMiniport. An intermediate driver typically calls NdisIMDeregisterLayeredMiniport from its ProtocolUnbindAdapter function after calling NdisDeregisterProtocol.
|Not supported for NDIS 6.0 drivers in Windows Vista. Use NdisMDeregisterMiniportDriverinstead. Supported for NDIS 5.1 drivers in Windows Vista and Windows XP.|
Build date: 11/16/2013