Поделиться через


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

The ProtocolCmIncomingCallComplete function is required. When NDIS calls this function, ProtocolCmIncomingCallComplete indicates to the call manager that the connection-oriented client has finished processing of an incoming call offer that the call manager previously dispatched through NdisCmDispatchIncomingCall.

Syntax

VOID ProtocolCmIncomingCallComplete(
  _In_ NDIS_STATUS         Status,
  _In_ NDIS_HANDLE         CallMgrVcContext,
  _In_ PCO_CALL_PARAMETERS CallParameters
);

Parameters

  • Status [in]
    Indicates the final status of the operation to dispatch an incoming call to a connection-oriented client.

  • CallMgrVcContext [in]
    Specifies the handle to a call manager-allocated context area in which the call manager maintains its per-VC state. The call manager supplied this handle from its ProtocolCoCreateVc function.

  • CallParameters [in]
    Pointer to the call parameters as specified by the call manager in the call to NdisCmDispatchIncomingCall. The signaling protocol determines which call parameters, if any, the call manager can change.

Return value

None

Remarks

When the connection-oriented client has completed processing of an incoming connection offer that the call manager dispatched to it, this routine will be called if NdisCmDispatchIncomingCall returned NDIS_STATUS_PENDING. The final status of the incoming call is found in Status. Possible values for Status include, but are not limited to:

  • NDIS_STATUS_SUCCESS
    Indicates that the call manager has accepted the incoming call.

  • NDIS_STATUS_FAILURE
    Indicates that either the address family or the SAP that the call dispatched for is currently in the process of closing.

  • NDIS_STATUS_RESOURCES
    Indicates that the incoming call was not accepted because the connection-oriented client was unable to dynamically allocate resources required for it to process the call.

  • NDIS_STATUS_INVALID_DATA
    Indicates that the connection-oriented client rejected the call because the call parameters specified were invalid.

If the client accepts the incoming call, the call manager should send signaling message(s) to indicate to the calling entity that the call has been accepted. If the client does not accept the call, the call manager should send signaling message(s) to indicate that the call has been rejected.

Requirements

Target platform

Desktop

Version

See ProtocolCmIncomingCallComplete.

Header

Ndis.h (include Ndis.h)

IRQL

<= DISPATCH_LEVEL

See also

NdisCmDispatchIncomingCall

ProtocolClIncomingCall

ProtocolCmRegisterSap

 

 

Send comments about this topic to Microsoft