Share via


NdisMRegisterAdapterShutdownHandler (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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

Parameters

  • ShutdownContext
    [in] Pointer to a driver-determined context area. This pointer is passed to the function at ShutdownHandler when it is called.
  • ShutdownHandler
    [in] Specifies the entry point of the caller's MiniportShutdown function.

Return Value

None.

Remarks

Any version of this function prior to Windows CE .NET 4.0 is a stub that does not work.

Requirements

Header ndis.h
Library ndis.dll
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
MiniportInitialize
MiniportShutdown