NdisMCmDeregisterSapComplete macro (ndis.h)

NdisMCmDeregisterSapComplete returns the final status of a client's request, for which the MCM driver previously returned NDIS_STATUS_PENDING, to deregister a SAP.

Syntax

void NdisMCmDeregisterSapComplete(
   _S_,
   _H_
);

Parameters

_S_

Specifies NDIS_STATUS_SUCCESS.

_H_

Specifies the handle identifying the SAP.

Return value

None

Remarks

NdisMCmDeregisterSapComplete notifies both NDIS and the client that the MCM driver has completed the SAP-deregistration request for which its ProtocolCmDeregisterSap function previously returned NDIS_STATUS_PENDING.

A call to NdisMCmDeregisterSapComplete causes NDIS to call the client's ProtocolClDeregisterSapComplete function.

The MCM driver should consider the NdisSapHandle invalid when NdisMCmDeregisterSapComplete returns control.

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

Requirements

Requirement Value
Minimum supported client Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisMCmDeregisterSapComplete (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisMCmDeregisterSapComplete (NDIS 5.1)) in Windows XP.
Target Platform Desktop
Header ndis.h (include Ndis.h)
IRQL <= DISPATCH_LEVEL
DDI compliance rules Irql_MCM_Function(ndis)

See also

NdisClDeregisterSap

NdisCmDeregisterSapComplete

ProtocolClDeregisterSapComplete

ProtocolCmDeregisterSap