Share via


NdisMRegisterAdapterShutdownHandler (Compact 2013)

3/26/2014

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.

Requirements

Header

ndis.h

Library

ndis.dll

See Also

Reference

NDIS 5.x Legacy Functions
MiniportInitialize
MiniportShutdown