// ndis.h
void NdisMCmNotifyCloseAddressFamily(
_AH_
);
View the official Windows Driver Kit DDI referenceNo description available.
The NdisMCmNotifyCloseAddressFamily function notifies NDIS that a specified address family (AF) that is associated with a miniport call manager (MCM) should be closed and NDIS should notify any affected CoNDIS clients.
_AH_A handle that identifies the AF that NDIS should close. NDIS supplied this handle to the MCM's ProtocolCmOpenAf function.
MCMs, which register as NDIS miniport drivers by calling the NdisMRegisterMiniportDriver function, can call the NdisMCmNotifyCloseAddressFamily function. Stand-alone call managers instead call the NdisCmNotifyCloseAddressFamily function.
To close an AF for a miniport adapter, the MCM should call NdisMCmNotifyCloseAddressFamily from its MiniportHaltEx function. NDIS subsequently calls the ProtocolClNotifyCloseAf function of the client that has the specified AF open.
If NdisMCmNotifyCloseAddressFamily returns NDIS_STATUS_PENDING, NDIS calls the MCM's ProtocolCmNotifyCloseAfComplete function after the client completes the AF close operation.
NdisCmNotifyCloseAddressFamily
ProtocolCmNotifyCloseAfComplete