Platform SDK: TAPI

ITBasicCallControl::HandoffIndirect

Hands off the call to another application based on the media type of the call. This indicates that the application no longer requires ownership of the call.

HRESULT HandoffIndirect(
  long lMediaType
);

Parameters

lMediaType
[in] Media type to transfer to.

Return Values

Value Meaning
S_OK Method succeeded.
E_INVALIDARG The lMediaType parameter is not valid.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.

Remarks

If TAPI fails to hand off the call, TAPI will call Disconnect.

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, Handoffs Overview, Call Object, lineHandoff, TAPIMEDIATYPE_ Constants