This function releases system resources allocated when the NIC driver called the NdisMInitializeWrapper function.
Header file: | Ndis.h |
Windows CE versions: | 2.0 and later |
VOID NdisTerminateWrapper( IN NDIS_HANDLE NdisWrapperHandle,
IN PVOID SystemSpecific );
A miniport calls this function during initialization if it cannot find an NIC that it supports in the current platform or if it cannot successfully initialize at least one NIC or virtual NIC.
The NDIS library cleans up the resources that it allocated if a miniport driver is unloaded after it has successfully initialized.
A driver should also call this function from its MiniportHalt function when its last NIC is being removed.
A driver that calls this function runs at IRQL PASSIVE_LEVEL.