Platform SDK: TAPI |
Disconnects the call. The call state will transition to CS_DISCONNECTED after the method completes successfully.
HRESULT Disconnect( DISCONNECT_CODE code );
Value | Meaning |
---|---|
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.0 dll. |
E_OUTOFMEMORY | Insufficient memory exists to perform the operation. |
TAPI_E_TIMEOUT | The operation failed because the TAPI 3.0 DLL timed it out. The timeout interval is two minutes. |
Windows NT/2000: Requires Windows 2000.
Version: Requires TAPI 3.0 or later.
Header: Declared in Tapi3.h.
Library: Use T3iid.lib.
ITBasicCallControl, Terminate a Session Overview, Call Object, Drop Overview, lineDrop, DISCONNECT_CODE