VOID
NdisCloseAdapter(
OUT PNDIS_STATUS Status,
IN NDIS_HANDLE NdisBindingHandle
);
NdisCloseAdapter releases the binding established and the resources allocated when the protocol called NdisOpenAdapter.
As soon as a protocol calls NdisCloseAdapter, the handle at NdisBindingHandle should be considered invalid by the caller. It is a programming error to pass this handle in any subsequent call to an NdisXxx function.
Callers of NdisCloseAdapter run at IRQL PASSIVE_LEVEL.
NdisCompleteUnbindAdapter, NdisOpenAdapter, ProtocolCloseAdapterComplete, ProtocolUnbindAdapter