ITRequest::MakeCall method (tapi3if.h)
The MakeCall method makes a call to the designated party.
Syntax
HRESULT MakeCall(
[in] BSTR pDestAddress,
[in] BSTR pAppName,
[in] BSTR pCalledParty,
[in] BSTR pComment
);
Parameters
[in] pDestAddress
Pointer to a BSTR containing the destination address for the call.
[in] pAppName
Pointer to a BSTR containing the name of the application.
[in] pCalledParty
Pointer to a BSTR containing the called party name.
[in] pComment
Pointer to a BSTR containing a comment.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Method succeeded. |
|
Insufficient memory exists to perform the operation. |
|
No application exists that can handle the assisted telephony request. |
|
The destination address is not valid. |
|
The TAPI Server request queue is full and cannot handle another assisted telephony request. |
Remarks
The application must use SysAllocString to allocate memory for the pDestAddress, pAppName, pCalledParty, and pComment parameters. The application must use SysFreeString to free the memory when the variables are no longer needed.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | tapi3if.h (include Tapi3.h) |
Library | Uuid.lib |
DLL | Tapi3.dll |