NdisMRegisterAdapterShutdownHandler

This function registers an NIC-driver-supplied MiniportShutdown function to be called when the system is shutting down.

At a Glance

Header file: Ndis.h
Windows CE versions: 2.0 and later

Syntax

VOID NdisMRegisterAdapterShutdownHandler(
IN NDIS_HANDLE
MiniportHandle, IN PVOID ShutdownContext,
IN ADAPTER_SHUTDOWN_HANDLER
ShutdownHandler );

Parameters

MiniportHandle
Specifies the handle input to the MiniportInitialize function.
ShutdownContext
Pointer to a driver-determined context area. This pointer is passed to the function at ShutdownHandler when it is called.
ShutdownHandler
Specifies the entry point of the caller’s MiniportShutdown function.

Remarks

The Windows CE version of this function is a stub which does no work. It may be more fully implemented in later versions of Windows CE.