NdisMDeregisterMiniportDriver function (ndis.h)
A miniport driver calls the NdisMDeregisterMiniportDriver function to release resources that it allocated with a previous call to the NdisMRegisterMiniportDriver function.
Syntax
void NdisMDeregisterMiniportDriver(
[in] NDIS_HANDLE NdisMiniportDriverHandle
);
Parameters
[in] NdisMiniportDriverHandle
The handle that the miniport driver obtained in a previous call to NdisMRegisterMiniportDriver.
Return value
None
Remarks
If an error occurs in the miniport driver's DriverEntry routine after the NdisMRegisterMiniportDriver function returns successfully, the driver must call NdisMDeregisterMiniportDriver before DriverEntry returns. If DriverEntry succeeds, the driver must call NdisMDeregisterMiniportDriver from its MiniportDriverUnload function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported in NDIS 6.0 and later. |
Target Platform | Universal |
Header | ndis.h (include Ndis.h) |
Library | Ndis.lib |
IRQL | PASSIVE_LEVEL |
DDI compliance rules | Irql_Miniport_Driver_Function(ndis) |
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