ThbTapiCall.SwapHold
Unit: hbTapi

The SwapHold function swaps the specified active call with the specified call on consultation hold that is passed in the HeldCall parameter.

Declaration

procedure SwapHold(HeldCall: ThbTapiCall);

Remarks

Please refer to the section "lineSwapHold" in TAPI's documentation for a more detailed information. This functions works in an asynchronous manner. See the SyncMode property to read more about the handling of asynchronous functions.

Errors

Using this function may cause an EhbTapiError exception. Possible errors are:

LINEERR_INVALCALLHANDLE, LINEERR_OPERATIONUNAVAIL, LINEERR_INVALCALLSTATE, LINEERR_OPERATIONFAILED, LINEERR_NOMEM, LINEERR_RESOURCEUNAVAIL, LINEERR_NOTOWNER, LINEERR_UNINITIALIZED.

See Also

ThbTapiLine.OnCallState