?? func2_8e1x.htm
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML DIR="LTR"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso8859-1">
</HEAD>
<TITLE>linePrepareAddToConference</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="linePrepareAddToConference">
<META NAME="MS-HAID" CONTENT="_tapi2_lineprepareaddtoconference">
</HEAD>
<BODY TOPMARGIN="0">
<!--TOOLBAR_START-->
<!--TOOLBAR_EXEMPT-->
<!--TOOLBAR_END-->
<!--SYNC_START-->
<script language="JavaScript" src='/library/synch.js'></script>
<!--SYNC_END-->
<H1><A NAME="_tapi2_lineprepareaddtoconference"></A>linePrepareAddToConference</H1>
<P>The <B>linePrepareAddToConference</B> function prepares an existing conference call for the addition of another party. </P>
<PRE class=syntax><B>LONG WINAPI linePrepareAddToConference(
HCALL</B><I> hConfCall</I><B>, </B>
<B> LPHCALL</B><I> lphConsultCall</I><B>, </B>
<B> LPLINECALLPARAMS const</B><I> lpCallParams </I>
<B>);</B></PRE>
<H4>Parameters</H4>
<DL>
<DT><I>hConfCall</I> </DT>
<DD>A handle to a conference call. The application must be an owner of this call. The call state of <I>hConfCall</I> must be <I>connected</I>. </DD>
<DT><I>lphConsultCall</I> </DT>
<DD>A 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. </DD>
<DT><I>lpCallParams</I> </DT>
<DD>A pointer to call parameters to be used when establishing the consultation call. This parameter can be set to NULL if no special call setup parameters are desired.
</DD>
</DL>
<H4>Return Values</H4>
<P>Returns a positive request identifier if the function is completed asynchronously, or a negative error number if an error occurs. The <I>dwParam2</I> parameter of the corresponding <A HREF="msgs_65mh.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_65mh.htm">LINE_REPLY</A> message is zero if the function succeeds or it is a negative error number if an error occurs. Possible return values are: </P>
<P>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.</P>
<H4>Remarks</H4>
<P>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 <B>dwLineFeatures</B> member (of the type <A HREF="constnts_8a9f.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_8a9f.htm"><B>LINEFEATURE</B></A>) in the <A HREF="struc2_40oi.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_40oi.htm"><B>LINEDEVSTATUS</B></A> structure. (Calling <A HREF="func1_4377.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_4377.htm"><B>lineGetLineDevStatus</B></A> updates the information in <B>LINEDEVSTATUS</B>.) </P>
<P>A conference call handle can be obtained with <A HREF="func2_7z8l.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_7z8l.htm"><B>lineSetupConference</B></A> or with <A HREF="func1_9b1u.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_9b1u.htm"><B>lineCompleteTransfer</B></A> that is resolved as a three-way conference call. The <B>linePrepareAddToConference</B> function typically places the existing conference call in the <I>onHoldPendingConference</I> state and creates a consultation call that can be added later to the existing conference call with <A HREF="func1_7det.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_7det.htm"><B>lineAddToConference</B></A>. </P>
<P>The consultation call can be canceled using <A HREF="func1_1i5s.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_1i5s.htm"><B>lineDrop</B></A>. It may also be possible for an application to swap between the consultation call and the held conference call with <A HREF="func2_4rxg.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_4rxg.htm"><B>lineSwapHold</B></A>. </P>
<H4><A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/sdkintro/guide_927n.htm \n\n這個文件不能通過 Teleport Pro 取回, 因為 地址在一個域或為它的開始地址設定的邊界的外部路徑上. \n\n你想從服務器打開它嗎?'))window.location='http://msdn.microsoft.com/library/psdk/sdkintro/guide_927n.htm'" tppabs="http://msdn.microsoft.com/library/psdk/sdkintro/guide_927n.htm">Requirements</A> </H4>
<P><B> Windows NT/2000: </B>Requires Windows NT 4.0 SP3 or later.<BR>
<B> Windows 95/98: </B>Requires Windows 95 or later.<BR>
<B> Version: </B>Requires TAPI 1.3 or later.<BR>
<B> Header: </B>Declared in Tapi.h.<BR>
<B> Library: </B>Use Tapi32.lib.<BR>
<B> Unicode: </B>Implemented as Unicode and ANSI versions on all platforms.</P>
<H4>See Also</H4>
<P><A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/tapi3/tapiovr2_4mb6.htm \n\n這個文件不能通過 Teleport Pro 取回, 因為 地址在一個域或為它的開始地址設定的邊界的外部路徑上. \n\n你想從服務器打開它嗎?'))window.location='http://msdn.microsoft.com/library/psdk/tapi3/tapiovr2_4mb6.htm'" tppabs="http://msdn.microsoft.com/library/psdk/tapi3/tapiovr2_4mb6.htm">Conference</A> Overview, <A HREF="quickref_6gvn.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/quickref_6gvn.htm">Supplementary Line Service Functions</A>, <A HREF="msgs_65mh.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_65mh.htm">LINE_REPLY</A>, <A HREF="func1_7det.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_7det.htm"><B>lineAddToConference</B></A>, <A HREF="func1_9b1u.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_9b1u.htm"><B>lineCompleteTransfer</B></A>, <A HREF="struc2_40oi.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_40oi.htm"><B>LINEDEVSTATUS</B></A>, <A HREF="func1_1i5s.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_1i5s.htm"><B>lineDrop</B></A>, <A HREF="func1_4377.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_4377.htm"><B>lineGetLineDevStatus</B></A>, <A HREF="func2_7z8l.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_7z8l.htm"><B>lineSetupConference</B></A>, <A HREF="func2_4rxg.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_4rxg.htm"><B>lineSwapHold</B></A></P>
<DIV CLASS="footer">Built on Monday, August 14, 2000</DIV>
<!--FOOTER_START-->
<DIV CLASS="footer" STYLE="color:#000000;font-size:90%;">
<A HREF="mailto:sdkfdbk@microsoft.com">Send feedback</A> to the Platform SDK.</P>
<P><A HREF="javascript:if(confirm('http://msdn.microsoft.com/isapi/gomscom.asp?TARGET=/info/cpyright.htm \n\n這個文件不能通過 Teleport Pro 取回, 因為 地址在一個域或為它的開始地址設定的邊界的外部路徑上. \n\n你想從服務器打開它嗎?'))window.location='http://msdn.microsoft.com/isapi/gomscom.asp?TARGET=/info/cpyright.htm'" tppabs="http://msdn.microsoft.com/isapi/gomscom.asp?TARGET=/info/cpyright.htm" TARGET="_top">© 1999 Microsoft Corporation. All rights reserved. Terms of use.</A></P>
</DIV>
<!--FOOTER_END-->
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -