Platform SDK: TAPI

ITBasicCallControl::Hold

Places or removes the call from the hold.

HRESULT Hold(
  VARIANT_BOOL fHold 
);

Parameters

fHold
[in] If fHold is VARIANT_TRUE and the method succeeds, the call state transitions to the CS_HOLD state. If fHold is VARIANT_FALSE, the call state transitions to CS_CONNECTED.

Return Values

Value Meaning
S_OK Method succeeded.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.
TAPI_E_INVALCALLSTATE The call associated with this interface no longer exists.
TAPI_E_TIMEOUT The operation failed because the TAPI 3.0 DLL timed it out. The timeout interval is two minutes

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, Call Object, lineHold