Skip to content

Latest commit

 

History

History
147 lines (92 loc) · 6.02 KB

nf-tapi-lineprepareaddtoconferencea.md

File metadata and controls

147 lines (92 loc) · 6.02 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.linePrepareAddToConferenceA
linePrepareAddToConferenceA function (tapi.h)
The linePrepareAddToConference function prepares an existing conference call for the addition of another party. (linePrepareAddToConferenceA)
linePrepareAddToConferenceA
tapi/linePrepareAddToConferenceA
tapi2\lineprepareaddtoconference.htm
tapi3
e1603b36-8bcb-4665-b711-6d2b6794c963
12/05/2018
_tapi2_lineprepareaddtoconference, linePrepareAddToConference, linePrepareAddToConference function [TAPI 2.2], linePrepareAddToConferenceA, linePrepareAddToConferenceW, tapi/linePrepareAddToConference, tapi/linePrepareAddToConferenceA, tapi/linePrepareAddToConferenceW, tapi2.lineprepareaddtoconference
tapi.h
Windows
linePrepareAddToConferenceW (Unicode) and linePrepareAddToConferenceA (ANSI)
Tapi32.lib
Tapi32.dll
Windows
19H1
linePrepareAddToConferenceA
tapi/linePrepareAddToConferenceA
c++
APIRef
kbSyntax
DllExport
Tapi32.dll
linePrepareAddToConference
linePrepareAddToConferenceA
linePrepareAddToConferenceW

linePrepareAddToConferenceA function

-description

The linePrepareAddToConference function prepares an existing conference call for the addition of another party.

-parameters

-param hConfCall

Handle to a conference call. The application must be an owner of this call. The call state of hConfCall must be connected.

-param lphConsultCall

Pointer to an HCALL handle. This location is then loaded with a handle identifying the consultation call to be added. Initially, the application is the sole owner of this call.

-param lpCallParams

Pointer to a LINECALLPARAMS structure containing call parameters to use when establishing the consultation call. This parameter can be set to NULL if no special call setup parameters are desired.

-returns

Returns a positive request identifier if the function is completed asynchronously, or a negative error number if an error occurs. The dwParam2 parameter of the corresponding LINE_REPLY message is zero if the function succeeds or it is a negative error number if an error occurs. Possible return values are:

LINEERR_BEARERMODEUNAVAIL, LINEERR_INVALPOINTER, LINEERR_CALLUNAVAIL, LINEERR_INVALRATE, LINEERR_CONFERENCEFULL, LINEERR_NOMEM, LINEERR_INUSE, LINEERR_NOTOWNER, LINEERR_INVALADDRESSMODE, LINEERR_OPERATIONUNAVAIL, LINEERR_INVALBEARERMODE, LINEERR_OPERATIONFAILED, LINEERR_INVALCALLPARAMS, LINEERR_RATEUNAVAIL, LINEERR_INVALCALLSTATE, LINEERR_RESOURCEUNAVAIL, LINEERR_INVALCONFCALLHANDLE, LINEERR_STRUCTURETOOSMALL, LINEERR_INVALLINESTATE, LINEERR_USERUSERINFOTOOBIG, LINEERR_INVALMEDIAMODE, LINEERR_UNINITIALIZED.

-remarks

If LINEERR_INVALLINESTATE is returned, the line is currently not in a state in which this operation can be performed. A list of currently valid operations can be found in the dwLineFeatures member (of the type LINEFEATURE) in the LINEDEVSTATUS structure. (Calling lineGetLineDevStatus updates the information in LINEDEVSTATUS.)

A conference call handle can be obtained with lineSetupConference or with lineCompleteTransfer that is resolved as a three-way conference call. The linePrepareAddToConference function typically places the existing conference call in the onHoldPendingConference state and creates a consultation call that can be added later to the existing conference call with lineAddToConference.

The consultation call can be canceled using lineDrop. It may also be possible for an application to swap between the consultation call and the held conference call with lineSwapHold.

Note

The tapi.h header defines linePrepareAddToConference as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

-see-also

Conference overview

LINECALLPARAMS

LINEDEVSTATUS

LINE_REPLY

Supplementary Line Service Functions

lineAddToConference

lineCompleteTransfer

lineDrop

lineGetLineDevStatus

lineSetupConference

lineSwapHold