ITRequest::MakeCall method (tapi3if.h)

The MakeCall method makes a call to the designated party.

Syntax

HRESULT MakeCall(
  BSTR pDestAddress,
  BSTR pAppName,
  BSTR pCalledParty,
  BSTR pComment
);

Parameters

pDestAddress

Pointer to a BSTR containing the destination address for the call.

pAppName

Pointer to a BSTR containing the name of the application.

pCalledParty

Pointer to a BSTR containing the called party name.

pComment

Pointer to a BSTR containing a comment.

Return value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.
TAPIERR_NOREQUESTRECIPIENT
No application exists that can handle the assisted telephony request.
TAPIERR_INVALDESTADDRESS
The destination address is not valid.
TAPIERR_REQUESTQUEUEFULL
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

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

See also

ITRequest