ThbTapiLine.Unpark
Unit: hbTapi

The Unpark function retrieves the call parked at the address given in the DestAddress parameter. When the function succeds, the retreived call is returned as a ThbTapiCall object. If you're using ThbTapiLine in an asynchronous manner, the returned call will become valid, when the related TAPI reply message is received with a reply code equal to zero. The call will be originated at the address spezified by the AddressID paramter. Valid AddressID are 0 to ThbTapiLine.Addresses.Count-1.

Declaration

function Unpark(AddressID: DWORD; DestAddress: String): ThbTapiCall;

Remarks

In TAPI terms the lineUnpark function is called. This function 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_INVALADDRESS, LINEERR_OPERATIONUNAVAIL, LINEERR_INVALADDRESSID, LINEERR_OPERATIONFAILED, LINEERR_INVALLINEHANDLE, LINEERR_RESOURCEUNAVAIL, LINEERR_INVALPOINTER, LINEERR_UNINITIALIZED, LINEERR_NOMEM.

See Also

ThbTapiCall.Park