NdisMCmNotifyCloseAddressFamily macro (ndis.h)

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.

Syntax

void NdisMCmNotifyCloseAddressFamily(
   _AH_
);

Parameters

_AH_

A handle that identifies the AF that NDIS should close. NDIS supplied this handle to the MCM's ProtocolCmOpenAf function.

Return value

None

Remarks

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.

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.0 and later.
Target Platform Desktop
Header ndis.h (include Ndis.h)
IRQL PASSIVE_LEVEL
DDI compliance rules Irql_MCM_Function(ndis)

See also

MiniportHaltEx

NdisCmNotifyCloseAddressFamily

NdisMRegisterMiniportDriver

ProtocolClNotifyCloseAf

ProtocolCmNotifyCloseAfComplete

ProtocolCmOpenAf