NdisClDeregisterSap releases a previously registered SAP.
NDIS_STATUS NdisClDeregisterSap( NDIS_HANDLE NdisSapHandle );
Specifies the handle returned by NdisClRegisterSap.
NdisClDeregisterSap can return one of the following:
||The call manager's ProtocolCmDeregisterSap function has been called to complete the requested operation. NDIS calls the client's ProtocolClDeregisterSapComplete function when this operation is completed.|
||The SAP already is being closed, so this is a redundant call. If NdisClRegisterSap returns anything other than NDIS_STATUS_PENDING, the client should make an internal call to its ProtocolClRegisterSapComplete function.|
NdisClDeregisterSap releases a SAP on which the client previously registered itself to receive incoming calls with NdisClRegisterSap.
The client should consider the given NdisSapHandle invalid as soon as it calls NdisClDeregisterSap.
|Minimum supported client||Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisClDeregisterSap (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisClDeregisterSap (NDIS 5.1)) in Windows XP.|
|Header||ndis.h (include Ndis.h)|
|DDI compliance rules||Irql_Protocol_Driver_Function|