NdisMCmDeregisterSapComplete (NDIS 5.1) function

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

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(
  _In_ NDIS_STATUS Status,
  _In_ NDIS_HANDLE NdisSapHandle
);

Parameters

  • Status [in]
    Specifies NDIS_STATUS_SUCCESS.

  • NdisSapHandle [in]
    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 protocols, call NdisCmDeregisterSapComplete instead.

Requirements

Target platform

Desktop

Version

See NdisMCmDeregisterSapComplete.

Header

Ndis.h (include Ndis.h)

IRQL

<= DISPATCH_LEVEL

See also

NdisClDeregisterSap

NdisCmDeregisterSapComplete

ProtocolClDeregisterSapComplete

ProtocolCmDeregisterSap

 

 

Send comments about this topic to Microsoft