Platform SDK: TAPI

ITBasicCallControl::Answer

Answers an incoming call. This method can succeed only if the call state is CS_OFFERING.

HRESULT Answer();

Parameters

None

Return Values

Value Meaning
S_OK Method succeeded.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.
E_UNEXPECTED Call state was not CS_OFFERING.
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, lineAnswer