?? struc1_7vxu.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>LINECALLSTATUS</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="LINECALLSTATUS">
<META NAME="MS-HAID" CONTENT="_tapi2_linecallstatus_str">
</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_linecallstatus_str"></A>LINECALLSTATUS</H1>
<P>The <B>LINECALLSTATUS</B> structure describes the current status of a call. The information in this structure depends on the device capabilities of the address, the ownership of the call by the invoking application, and the current state of the call being queried. The <A HREF="func1_7iur.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_7iur.htm"><B>lineGetCallStatus</B></A> and <A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/tspi21/func2_6oj7.htm \n\n這個文件不能通過 Teleport Pro 取回, 因為 地址在一個域或為它的開始地址設定的邊界的外部路徑上. \n\n你想從服務器打開它嗎?'))window.location='http://msdn.microsoft.com/library/psdk/tspi21/func2_6oj7.htm'" tppabs="http://msdn.microsoft.com/library/psdk/tspi21/func2_6oj7.htm"><B>TSPI_lineGetCallStatus</B></A> functions return the <B>LINECALLSTATUS</B> structure.</P>
<PRE class=syntax>typedef struct linecallstatus_tag {
DWORD dwTotalSize;
DWORD dwNeededSize;
DWORD dwUsedSize;
DWORD dwCallState;
DWORD dwCallStateMode;
DWORD dwCallPrivilege;
DWORD dwCallFeatures;
DWORD dwDevSpecificSize;
DWORD dwDevSpecificOffset;
DWORD dwCallFeatures2;
SYSTEMTIME tStateEntryTime;
} LINECALLSTATUS, FAR *LPLINECALLSTATUS; </PRE>
<H4>Members</H4>
<DL>
<DT><B>dwTotalSize</B> </DT>
<DD>The total size, in bytes, allocated to this data structure. </DD>
<DT><B>dwNeededSize</B> </DT>
<DD>The size, in bytes, for this data structure that is needed to hold all the returned information. </DD>
<DT><B>dwUsedSize</B> </DT>
<DD>The size, in bytes, of the portion of this data structure that contains useful information. </DD>
<DT><B>dwCallState</B> </DT>
<DD>Specifies the current call state of the call using one of the <A HREF="constnts_6t0z.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_6t0z.htm">LINECALLSTATE_ constants</A>.</DD>
<DT><B>dwCallStateMode</B> </DT>
<DD>The interpretation of the <B>dwCallStateMode</B> member is call-state-dependent. In many cases, the value will be zero. The following table shows <B>dwCallStateMode</B> types for a given <B>dwCallState</B> value.
<TABLE>
<TR VALIGN="top">
<TH align=left width=48%>dwCallState</TH>
<TH align=left width=52%>dwCallStateMode</TH>
</TR>
<TR VALIGN="top">
<TD width=48%>LINECALLSTATE_BUSY</TD>
<TD width=52%><A HREF="constnts_4q5v.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_4q5v.htm">LINEBUSYMODE_ Constants</A></TD>
</TR>
<TR VALIGN="top">
<TD width=48%>LINECALLSTATE_CONNECTED</TD>
<TD width=52%><A HREF="constnts_8m7n.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_8m7n.htm">LINECONNECTEDMODE_ Constants</A></TD>
</TR>
<TR VALIGN="top">
<TD width=48%>LINECALLSTATE_DIALTONE </TD>
<TD width=52%><A HREF="constnts_2dbn.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_2dbn.htm">LINEDIALTONEMODE_ Constants</A></TD>
</TR>
<TR VALIGN="top">
<TD width=48%>LINECALLSTATE_DISCONNECTED </TD>
<TD width=52%><A HREF="constnts_90j7.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_90j7.htm"><B>LINEDISCONNECTMODE_ Constants</B></A></TD>
</TR>
<TR VALIGN="top">
<TD width=48%>LINECALLSTATE_OFFERING</TD>
<TD width=52%><A HREF="constnts_0zjn.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_0zjn.htm">LINEOFFERINGMODE_ Constants</A></TD>
</TR>
<TR VALIGN="top">
<TD width=48%>LINECALLSTATE_SPECIALINFO </TD>
<TD width=52%><A HREF="constnts_812r.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_812r.htm">LINESPECIALINFO_ Constants</A></TD>
</TR>
</TABLE><BR>
</DD>
<DT><B>dwCallPrivilege</B> </DT>
<DD>The application's privilege for this call. This member uses one or more of the <A HREF="constnts_4777.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_4777.htm">LINECALLPRIVILEGE_ constants</A>.</DD>
<DT><B>dwCallFeatures</B> </DT>
<DD>These flags indicate the Telephony API functions that can be invoked on the call, given the availability of the feature in the device capabilities, the current call state, and call ownership of the invoking application. A zero indicates the corresponding feature cannot be invoked by the application on the call in its current state; a one indicates the feature can be invoked. This member uses <A HREF="constnts_6mlv.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_6mlv.htm">LINECALLFEATURE_ Constants</A>. </DD>
<DT><B>dwDevSpecificSize</B> </DT>
<DT><B>dwDevSpecificOffset</B> </DT>
<DD>The size, in bytes, of the variably sized device-specific field, and the offset, in bytes, from the beginning of this data structure. </DD>
<DT><B>dwCallFeatures2</B> </DT>
<DD>Indicates additional functions can be invoked on the call, given the availability of the feature in the device capabilities, the current call state, and call ownership of the invoking application. An extension of the <B>dwCallFeatures</B> member. This member uses <A HREF="constnts_0x2r.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_0x2r.htm">LINECALLFEATURE2_ Constants</A>. </DD>
<DT><B>tStateEntryTime</B> </DT>
<DD>The Coordinated Universal Time at which the current call state was entered.
</DD>
</DL>
<H4>Remarks</H4>
<P>Device-specific extensions should use the <B>DevSpecific </B>(<B>dwDevSpecificSize</B> and <B>dwDevSpecificOffset</B>) variably sized area of this data structure. </P>
<P>The application is sent a <A HREF="msgs_1xid.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_1xid.htm">LINE_CALLSTATE</A> message whenever the call state of a call changes. This message only provides the new call state of the call. Additional status about a call is available with <A HREF="func1_7iur.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_7iur.htm"><B>lineGetCallStatus</B></A>. </P>
<P>The members <B>dwCallFeatures2</B> and <B>tStateEntryTime</B> are available only to applications that open the line device with an API version of 2.0 or later. </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.4 or later.<BR>
<B> Header: </B>Declared in Tapi.h.</P>
<H4>See Also</H4>
<P><A HREF="msgs_1xid.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_1xid.htm">LINE_CALLSTATE</A>, <A HREF="struc2_30xe.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_30xe.htm"><B>LINEDIALPARAMS</B></A>, <A HREF="func1_7iur.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_7iur.htm"><B>lineGetCallStatus</B></A>, <A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/tspi21/func2_6oj7.htm \n\n這個文件不能通過 Teleport Pro 取回, 因為 地址在一個域或為它的開始地址設定的邊界的外部路徑上. \n\n你想從服務器打開它嗎?'))window.location='http://msdn.microsoft.com/library/psdk/tspi21/func2_6oj7.htm'" tppabs="http://msdn.microsoft.com/library/psdk/tspi21/func2_6oj7.htm"><B>TSPI_lineGetCallStatus</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 + -