Skip to content

Latest commit

 

History

History
97 lines (73 loc) · 4.64 KB

nf-tapi-tapirequestmakecall.md

File metadata and controls

97 lines (73 loc) · 4.64 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:tapi.tapiRequestMakeCall
tapiRequestMakeCall function (tapi.h)
The tapiRequestMakeCall function (tapi.h) requests the establishment of a voice call.
_tapi2_tapirequestmakecall
tapi/tapiRequestMakeCall
tapi/tapiRequestMakeCallA
tapi/tapiRequestMakeCallW
tapi2.tapirequestmakecall
tapiRequestMakeCall
tapiRequestMakeCall function [TAPI 2.2]
tapiRequestMakeCallA
tapiRequestMakeCallW
tapi2\tapirequestmakecall.htm
tapi3
bdbc1565-6570-4fad-890c-fb3965cce452
08/09/2022
_tapi2_tapirequestmakecall, tapi/tapiRequestMakeCall, tapi/tapiRequestMakeCallA, tapi/tapiRequestMakeCallW, tapi2.tapirequestmakecall, tapiRequestMakeCall, tapiRequestMakeCall function [TAPI 2.2], tapiRequestMakeCallA, tapiRequestMakeCallW
tapi.h
Windows
tapiRequestMakeCallW (Unicode) and tapiRequestMakeCallA (ANSI)
Tapi32.lib
Tapi32.dll
Windows
19H1
tapiRequestMakeCall
tapi/tapiRequestMakeCall
c++
APIRef
kbSyntax
DllExport
Tapi32.dll
tapiRequestMakeCall
tapiRequestMakeCallA
tapiRequestMakeCallW

tapiRequestMakeCall function

-description

The tapiRequestMakeCall function requests the establishment of a voice call. A call-manager application is responsible for establishing the call on behalf of the requesting application, which is then controlled by the user's call-manager application.

-parameters

-param lpszDestAddress

Pointer to a memory location where the null-terminated destination address of the call request is located. The address can use the canonical address format. Validity of the specified address is not checked by this operation. The maximum length of the address is TAPIMAXDESTADDRESSSIZE characters, which includes the NULL terminator.

-param lpszAppName

Pointer to a memory location where the null-terminated user-friendly application name of the call request is located. This pointer can be left NULL if the application does not supply an application name. The maximum length of the address is TAPIMAXAPPNAMESIZE characters, which includes the NULL terminator. Longer strings are truncated.

-param lpszCalledParty

Pointer to a memory location where the null-terminated called party name for the called party of the call is located. This pointer can be left NULL if the application does not wish to supply this information. The maximum length of the string is TAPIMAXCALLEDPARTYSIZE characters, which includes the NULL terminator. Longer strings are truncated.

-param lpszComment

Pointer to a memory location where the null-terminated comment about the call is located. This pointer can be left NULL if the application does not supply a comment. The maximum length of the address is TAPIMAXCOMMENTSIZE characters, which includes the NULL terminator. Longer strings are truncated.

-returns

Returns zero if the request succeeds or a negative error number if an error occurs. Possible error return value are:

TAPIERR_NOREQUESTRECIPIENT, TAPIERR_INVALDESTADDRESS, TAPIERR_REQUESTQUEUEFULL, TAPIERR_INVALPOINTER.

-remarks

A telephony-enabled application can request that a call be placed on its behalf by invoking tapiRequestMakeCall, providing only the destination address for the call. This request is forwarded to the user's call-control application, which places the call on behalf of the original application. A default call-control application is provided as part of Telephony. Users can replace this with a call-control application of their choice.

Invoking tapiRequestMakeCall when no call control application is running returns the TAPIERR_NOREQUESTRECIPIENT error indication. If the call control application is not running, TAPI attempts to launch the highest-priority call control application (which is listed for RequestMakeCall in the registry). Invoking this function when the Assisted TAPI request queue is full returns the TAPIERR_REQUESTQUEUEFULL error.

-see-also

Assisted Telephony Services Reference

TAPI 2.2 Reference Overview