VOID
NdisDeregisterAdapterShutdownHandler(
IN NDIS_HANDLE NdisAdapterHandle
);
NdisDeregisterAdapterShutdownHandler is called by the NIC driver to remove its registered MacShutdown function from the list of those to be called during system shutdown.
Drivers usually call NdisDeregisterAdapterShutdownHandler when they are unloading.
Callers of NdisDeregisterAdapterShutdownHandler run at IRQL PASSIVE_LEVEL.