NdisMCmCloseAddressFamilyComplete - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndis.h

void NdisMCmCloseAddressFamilyComplete(
  _S_,
  _H_
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ndis-ndismcmcloseaddressfamilycomplete)

NdisMCmCloseAddressFamilyComplete macro

Description

NdisMCmCloseAddressFamilyComplete returns the final status of a client's request, for which the MCM driver returned NDIS_STATUS_PENDING, to close the AF.

Parameters

_S_

The caller sets this to NDIS_STATUS_SUCCESS.

_H_

Specifies the NDIS-supplied handle passed to the MCM driver's ProtocolCmOpenAf function when this client originally opened the address family.

Remarks

An MCM driver must call NdisMCmCloseAddressFamilyComplete if its ProtocolCmCloseAf function previously returned NDIS_STATUS_PENDING for the given NdisAfHandle . The client, which initiated the pended close-AF operation with a call to NdisClCloseAddressFamily, cannot release the resources it allocated to track communications on the AF until the MCM driver's call to NdisMCmCloseAddressFamilyComplete.

A call to NdisMCmCloseAddressFamilyComplete causes NDIS to call the client's ProtocolClCloseAfComplete function.

The MCM driver cannot subsequently use the NdisAfHandle, which is invalid for the MCM driver when NdisMCmCloseAddressFamilyComplete returns control.

Only connection-oriented miniport drivers that provide integrated call-management support can call NdisMCmCloseAddressFamilyComplete. Stand-alone call managers, which register themselves with NDIS as protocol drivers, call NdisCmCloseAddressFamilyComplete instead.

See also

NdisClCloseAddressFamily

NdisCmCloseAddressFamilyComplete

ProtocolClCloseAfComplete

ProtocolCmCloseAf

ProtocolCmOpenAf