NdisCloseAdapter

NdisCloseAdapter releases the binding established and the resources allocated when the protocol called NdisOpenAdapter.

Syntax

VOID NdisCloseAdapter(OUT PNDIS_STATUS Status,
IN NDIS_HANDLE
NdisBindingHandle);

At a Glance

Header File: Ndis.h
Module: Nk
Platforms:
Versions: 2.0 and later
Complete Documentation: Windows NT Device Driver Kit

Remarks

The Windows CE version of NdisDeregisterProtocol only frees resources associated with the protocol. It does not close any outstanding bindings or call any adapter-specific ProtocolCloseAdapterComplete or ProtocolStatus functions. Unlike the Windows NT version, it does not unload the miniport driver when there are no more protocol drivers (also known as protocol stacks) bound to it.