NdisIMDeregisterLayeredMiniport function (ndis.h)
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.
Syntax
void NdisIMDeregisterLayeredMiniport(
[in] NDIS_HANDLE DriverHandle
);
Parameters
[in] DriverHandle
Specifies the handle returned by NdisIMRegisterLayeredMiniport.
Return value
None
Remarks
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.
- Target platform: Universal
- Version: Not supported for NDIS 6.0 drivers in Windows Vista. Use NdisMDeregisterMiniportDriverinstead. Supported for NDIS 5.1 drivers in Windows Vista and Windows XP.
Requirements
Requirement | Value |
---|---|
Header | ndis.h (include Ndis.h) |
Library | Ndis.lib |
IRQL | PASSIVE_LEVEL |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for