NdisCmDeregisterSapComplete (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.

NdisCmDeregisterSapComplete returns the final status of a client's request, for which the call manager previously returned NDIS_STATUS_PENDING, to deregister a SAP.

Syntax

VOID NdisCmDeregisterSapComplete(
  _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

NdisCmDeregisterSapComplete notifies both NDIS and the client that the call manager has completed the SAP-deregistration request for which its ProtocolCmDeregisterSap function previously returned NDIS_STATUS_PENDING.

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

The call manager should consider the NdisSapHandle invalid when NdisCmDeregisterSapComplete returns control.

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

Requirements

Target platform

Universal

Version

See NdisCmDeregisterSapComplete.

Header

Ndis.h (include Ndis.h)

Library

Ndis.lib

IRQL

<= DISPATCH_LEVEL

See also

NdisClDeregisterSap

NdisMCmDeregisterSapComplete

ProtocolClDeregisterSapComplete

ProtocolCmDeregisterSap

 

 

Send comments about this topic to Microsoft