CLOSE_NDK_ADAPTER_HANDLER callback function (ndisndk.h)

The CloseNDKAdapterHandler (CLOSE_NDK_ADAPTER_HANDLER) function closes an NDK adapter instance on an NDK-capable NDIS miniport adapter.

Syntax

CLOSE_NDK_ADAPTER_HANDLER CloseNdkAdapterHandler;

void CloseNdkAdapterHandler(
  [in] NDIS_HANDLE MiniportAdapterContext,
  [in] NDK_ADAPTER *pNdkAdapter
)
{...}

Parameters

[in] MiniportAdapterContext

A handle to a context area that the miniport driver allocated in its MiniportInitializeEx function. The miniport driver uses this context area to maintain state information for an NDIS miniport adapter.

[in] pNdkAdapter

A pointer to the NDK_ADAPTER instance to close.

Return value

None

Remarks

The CLOSE_NDK_ADAPTER_HANDLER function closes an NDK_ADAPTER instance on an NDK-capable NDIS miniport adapter. The miniport driver previously opened the NDK_ADAPTER instance by calling the OPEN_NDK_ADAPTER_HANDLER function.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012
Target Platform Windows
Header ndisndk.h
IRQL PASSIVE_LEVEL

See also

MiniportInitializeEx

NDK_ADAPTER

NDK_ADAPTER_DISPATCH

OPEN_NDK_ADAPTER_HANDLER