Platform SDK: TAPI

ITBasicCallControl::Unpark

Gets the call from park.

HRESULT Unpark(
);

Parameters

None

Return Values

Value Meaning
S_OK Method succeeded.
E_FAIL The park operation is not supported.
TAPI_E_INVALCALLSTATE Call state must be CS_IDLE.
TAPI_E_TIMEOUT The operation failed because the TAPI 3.0 DLL timed it out. The timeout interval is two minutes.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.

Remarks

In order to unpark a call, CreateCall must be called using as the destination address the current parked location of the call. For example:

pAddress->CreateCall( bstrAddressToCall, 
                      dwAddressType, 
                      &pBasicCall ;
// Select appropriate terminals for call, and then call: 
pBasicCall ->Unpark();

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Tapi3.h.
  Library: Use T3iid.lib.

See Also

ITBasicCallControl, ITAddress::CreateCall, ParkDirect, ParkIndirect, Park Overview, Call Object, lineUnpark