Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
The Disconnect method disconnects the call. The call state will transition to CS_DISCONNECTED after the method completes successfully.
Syntax
HRESULT Disconnect(
[in] DISCONNECT_CODE code
);
Parameters
[in] code
DISCONNECT_CODE indicating reason for call disconnection.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
Method succeeded. |
|
The call state is CS_IDLE or a valid handle for the call could not be obtained by the TAPI 3 DLL. |
|
Insufficient memory exists to perform the operation. |
|
The operation failed because the TAPI 3 DLL timed it out. The timeout interval is two minutes. |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | tapi3if.h (include Tapi3.h) |
| Library | Uuid.lib |
| DLL | Tapi3.dll |