NdisRegisterAdapterShutdownHandler

VOID
NdisRegisterAdapterShutdownHandler(
IN NDIS_HANDLE NdisAdapterHandle,
IN PVOID ShutdownContext,
IN ADAPTER_SHUTDOWN_HANDLER ShutdownHandler
);

NdisRegisterAdapterShutdownHandler is called by a NIC driver to register its MacShutdown handler, so this function will be called when system shutdown commences.

Parameters

NdisAdapterHandle

Specifies the handle that the NDIS interface library associates with the network interface card.

ShutdownContext

Points to the context that the NIC driver associates with shutdown processing.

ShutdownHandler

Specifies the address of the caller's MacShutdown function.

Comments

Callers of NdisRegisterAdapterShutdownHandler run at IRQL PASSIVE_LEVEL.

See Also

MacShutdown, NdisDeregisterAdapterShutdownHandler