?? constnts_8m7n.htm
字號(hào):
<!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>LINECONNECTEDMODE_ Constants</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="LINECONNECTEDMODE_ Constants">
<META NAME="MS-HAID" CONTENT="_tapi2_lineconnectedmode__constants">
</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_lineconnectedmode__constants"></A>LINECONNECTEDMODE_ Constants</H1>
<P>The LINECONNECTEDMODE_ bit-flag constants describe different substates of a connected call. A mode is available as call status to the application after the call state transitions to <I>connected</I>, and within the LINE_CALLSTATE message indicating the call is in LINECALLSTATE_CONNECTED. These values are used when the call is on an address that is shared (bridged) with other stations (see <A HREF="constnts_9zsj.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_9zsj.htm">LINEADDRESSSHARING_ Constants</A>), primarily electronic key systems. The LINECONNECTEDMODE_ constants have the following values:
<DL>
<DT>LINECONNECTEDMODE_ACTIVE </DT>
<DD>Indicates that the call is connected at the current station (the current station is a participant in the call). If the call state mode is 0 (zero), the application should assume that the value is "active" (which would be the situation on a non-bridged address). The mode can switch between ACTIVE and INACTIVE during a call if the user joins and leaves the call through manual action. In such a bridged situation, a <A HREF="func1_1i5s.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_1i5s.htm"><B>lineDrop</B></A> or <A HREF="func1_3plw.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_3plw.htm"><B>lineHold</B></A> operation may possibly not actually drop the call or place it on hold, because the status of other stations on the call may govern (for example, attempting to "hold" a call when other stations are participating won't be possible); instead, the call may simply be changed to the INACTIVE mode if it remains CONNECTED at other stations.</DD>
<DT>LINECONNECTEDMODE_ACTIVEHELD </DT>
<DD>Indicates that the station is an active participant in the call, but that the remote party has placed the call on hold (the other party considers the call to be in the <I>onhold</I> state). Normally, such information is available only when both endpoints of the call fall within the same switching domain. This flag is exposed only to applications that negotiate a TAPI version of 2.0 or higher. (TAPI versions 2.0 and later)</DD>
<DT>LINECONNECTEDMODE_CONFIRMED </DT>
<DD>Indicates that the service provider received affirmative notification that the call has entered the connected state (for example, through answer supervision or similar mechanisms). This flag is exposed only to applications that negotiate a TAPI version of 2.0 or higher. (TAPI versions 2.0 and later)</DD>
<DT>LINECONNECTEDMODE_INACTIVE </DT>
<DD>Indicates that the call is active at one or more other stations, but the current station is not a participant in the call. If the call state mode is ZERO, the application should assume that the value is "active" (which would be the situation on a non-bridged address). A call in the INACTIVE state can be joined using <A HREF="func1_52nm.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_52nm.htm"><B>lineAnswer</B></A>. Many operations that are valid in calls in the CONNECTED state can be impossible in the INACTIVE mode, such as monitoring for tones and digits, because the station is not actually participating in the call; monitoring is usually suspended (although not canceled) while the call is in the INACTIVE mode.</DD>
<DT>LINECONNECTEDMODE_INACTIVEHELD </DT>
<DD>Indicates that the station is not an active participant in the call, and that the remote party has placed the call on hold. This flag is exposed only to applications that negotiate a TAPI version of 2.0 or higher. (TAPI versions 2.0 and later)
</DD>
</DL>
<P>Not extensible. All 32 bits are reserved. </P>
<P>For backward compatibility, it is the responsibility of the service provider to examine the negotiated API version on the line, and to not use those LINECONNECTEDMODE_ values that are not supported on the negotiated version. Applications that are not cognizant of LINECONNECTEDMODE_ will most likely assume that a call that is in LINECALLSTATE_CONNECTED is in LINECONNECTEDMODE_ACTIVE. </P>
<P>The LINECONNECTEDMODE_ACTIVE and LINECONNECTEDMODE_INACTIVE values are used when the call is on an address that is shared with other stations (bridged; see <A HREF="constnts_9zsj.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_9zsj.htm">LINEADDRESSSHARING_ Constants</A>), primarily electronic key systems. If the <I>connected</I> call state mode is "active," it means that the call is connected at the current station (the current station is a participant in the call). If the call state mode is "inactive," the call is active at one or more other stations, but the current station is not a participant in the call. If the call state mode is ZERO, the application should assume that the value is "active" (which would be the situation on a non-bridged address). The mode can switch between ACTIVE and INACTIVE during a call if the user joins and leaves the call through manual action. </P>
<P>In such a bridged situation, a <A HREF="func1_1i5s.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_1i5s.htm"><B>lineDrop</B></A> or <A HREF="func1_3plw.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_3plw.htm"><B>lineHold</B></A> operation may possibly not actually drop the call or place it on hold, because the status of other stations on the call may govern (for example, attempting to "hold" a call when other stations are participating will not be possible); instead, the call can simply be changed to the INACTIVE mode if it remains <I>connected</I> at other stations. A call in the INACTIVE state can be joined using the <A HREF="func1_52nm.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_52nm.htm"><B>lineAnswer</B></A>. </P>
<P>Many operations that are valid in calls in the <I>connected</I> state can be impossible in the INACTIVE mode, such as monitoring for tones and digits, because the station is not actually participating in the call; monitoring is usually suspended (although not canceled) while the call is in the INACTIVE mode. </P>
<H4><A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/sdkintro/guide_927n.htm \n\n這個(gè)文件不能通過(guò) Teleport Pro 取回, 因?yàn)?地址在一個(gè)域或?yàn)樗拈_(kāi)始地址設(shè)定的邊界的外部路徑上. \n\n你想從服務(wù)器打開(kāi)它嗎?'))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 2.0 or later.<BR>
<B> Header: </B>Declared in Tapi.h.</P>
<H4>See Also</H4>
<P><A HREF="func1_52nm.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_52nm.htm"><B>lineAnswer</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_3plw.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_3plw.htm"><B>lineHold</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這個(gè)文件不能通過(guò) Teleport Pro 取回, 因?yàn)?地址在一個(gè)域或?yàn)樗拈_(kāi)始地址設(shè)定的邊界的外部路徑上. \n\n你想從服務(wù)器打開(kāi)它嗎?'))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>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -