VOID
NdisMDeregisterAdapterShutdownHandler(
IN NDIS_HANDLE MiniportHandle
);
NdisMDeregisterAdapterShutdownHandler removes a NIC-driver-supplied MiniportShutdown function from the list of registered shutdown handlers to be called.
A miniport driver that called NdisMRegisterAdapterShutdownHandler from MiniportInitialize must call NdisMDeregisterAdapterShutdownHandler when it is cleaning up the resources it allocated before being unloaded.
MiniportInitialize also should call NdisMDeregisterAdapterShutdownHandler if the driver has already registered the MiniportShutdown function but MiniportInitialize will fail the initialization.
Callers of NdisMDeregisterAdapterShutdownHandler run at IRQL PASSIVE_LEVEL.
MiniportHalt, MiniportInitialize, MiniportShutdown, NdisMRegisterAdapterShutdownHandler