ITBasicCallControl::Disconnect method (tapi3if.h)

The Disconnect method disconnects the call. The call state will transition to CS_DISCONNECTED after the method completes successfully.

Syntax

HRESULT Disconnect(
  DISCONNECT_CODE code
);

Parameters

code

DISCONNECT_CODE indicating reason for call disconnection.

Return value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.
S_FALSE
The call state is CS_IDLE or a valid handle for the call could not be obtained by the TAPI 3 DLL.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.
TAPI_E_TIMEOUT
The operation failed because the TAPI 3 DLL timed it out. The timeout interval is two minutes.

Requirements

   
Target Platform Windows
Header tapi3if.h (include Tapi3.h)
Library Uuid.lib
DLL Tapi3.dll

See also

Call Object

DISCONNECT_CODE

Drop overview

ITBasicCallControl

Terminate a Session Overview

lineDrop