?? struc2_40oi.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>LINEDEVSTATUS</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="LINEDEVSTATUS">
<META NAME="MS-HAID" CONTENT="_tapi2_linedevstatus_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_linedevstatus_str"></A>LINEDEVSTATUS</H1>
<P>The <B>LINEDEVSTATUS</B> structure describes the current status of a line device. The <A HREF="func1_4377.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_4377.htm"><B>lineGetLineDevStatus</B></A> function and the <A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/tspi21/func2_3e7n.htm \n\n這個文件不能通過 Teleport Pro 取回, 因為 地址在一個域或為它的開始地址設(shè)定的邊界的外部路徑上. \n\n你想從服務(wù)器打開它嗎?'))window.location='http://msdn.microsoft.com/library/psdk/tspi21/func2_3e7n.htm'" tppabs="http://msdn.microsoft.com/library/psdk/tspi21/func2_3e7n.htm"><B>TSPI_lineGetLineDevStatus</B></A> function return the <B>LINEDEVSTATUS</B> structure. </P>
<PRE class=syntax>typedef struct linedevstatus_tag {
DWORD dwTotalSize;
DWORD dwNeededSize;
DWORD dwUsedSize;
DWORD dwNumOpens;
DWORD dwOpenMediaModes;
DWORD dwNumActiveCalls;
DWORD dwNumOnHoldCalls;
DWORD dwNumOnHoldPendCalls;
DWORD dwLineFeatures;
DWORD dwNumCallCompletions;
DWORD dwRingMode;
DWORD dwSignalLevel;
DWORD dwBatteryLevel;
DWORD dwRoamMode;
DWORD dwDevStatusFlags;
DWORD dwTerminalModesSize;
DWORD dwTerminalModesOffset;
DWORD dwDevSpecificSize;
DWORD dwDevSpecificOffset;
DWORD dwAvailableMediaModes;
DWORD dwAppInfoSize;
DWORD dwAppInfoOffset;
} LINEDEVSTATUS, FAR *LPLINEDEVSTATUS; </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>dwNumOpens</B> </DT>
<DD>The number of active opens on the line device. </DD>
<DT><B>dwOpenMediaModes</B> </DT>
<DD>Bit array that indicates for which media types the line device is currently open. </DD>
<DT><B>dwNumActiveCalls</B> </DT>
<DD>The number of calls on the line in call states other than <I>idle</I>, <I>onhold</I>, <I>onholdpendingtransfer</I>, and <I>onholdpendingconference</I>. </DD>
<DT><B>dwNumOnHoldCalls</B> </DT>
<DD>The number of calls on the line in the <I>onhold</I> state. </DD>
<DT><B>dwNumOnHoldPendCalls</B> </DT>
<DD>The number of calls on the line in the <I>onholdpendingtransfer</I> or <I>onholdpendingconference</I> state. </DD>
<DT><B>dwLineFeatures</B> </DT>
<DD>Specifies the line-related API functions that are currently available on this line. This member uses one or more of the <A HREF="constnts_8a9f.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_8a9f.htm">LINEFEATURE_ Constants</A>. </DD>
<DT><B>dwNumCallCompletions</B> </DT>
<DD>The number of outstanding call completion requests on the line. </DD>
<DT><B>dwRingMode</B> </DT>
<DD>The current ring mode on the line device. </DD>
<DT><B>dwSignalLevel</B> </DT>
<DD>The current signal level of the connection on the line. This is a value in the range 0x00000000 (weakest signal) to 0x0000FFFF (strongest signal). </DD>
<DT><B>dwBatteryLevel</B> </DT>
<DD>The current battery level of the line device hardware. This is a value in the range 0x00000000 (battery empty) to 0x0000FFFF (battery full). </DD>
<DT><B>dwRoamMode</B> </DT>
<DD>The current roam mode of the line device. This member uses one of the <A HREF="constnts_9u2b.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_9u2b.htm">LINEROAMMODE_ Constants</A>.</DD>
<DT><B>dwDevStatusFlags</B> </DT>
<DD>The status flags indicate information such as whether the device is locked. It consists of one or more members of <A HREF="constnts_4h9v.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_4h9v.htm">LINEDEVSTATUSFLAGS_ Constants</A>. </DD>
<DT><B>dwTerminalModesSize</B> </DT>
<DT><B>dwTerminalModesOffset</B> </DT>
<DD>The size, in bytes, of the variably sized device field containing an array with <B>DWORD</B>-sized entries, and the offset, in bytes, from the beginning of this data structure. This array is indexed by terminal IDs, in the range from zero to <B>dwNumTerminals</B> minus one. Each entry in the array specifies the current terminal modes for the corresponding terminal set using the <A HREF="func2_0vn0.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_0vn0.htm"><B>lineSetTerminal</B></A> function for this line. Each entry uses one or more of the <A HREF="constnts_9vub.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_9vub.htm">LINETERMMODE_ 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>dwAvailableMediaModes</B> </DT>
<DD>Indicates the media types that can be invoked on new calls created on this line device, when the <B>dwLineFeatures</B> member indicates that new calls are possible. If this member is zero, it indicates that the service provider either does not know or cannot indicate which media types are available, in which case any or all of the media types indicated in the <B>dwMediaModes</B> member in <A HREF="struc2_67aq.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_67aq.htm"><B>LINEDEVCAPS</B></A> may be available. </DD>
<DT><B>dwAppInfoSize</B> </DT>
<DT><B>dwAppInfoOffset</B> </DT>
<DD>Length, in bytes, and offset from the beginning of <B>LINEDEVSTATUS</B> of an array of <A HREF="struc1_7r76.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_7r76.htm"><B>LINEAPPINFO</B></A> structures. The <B>dwNumOpens</B> member indicates the number of elements in the array. Each element in the array identifies an application that has the line open.
</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 members <B>dwAvailableMediaModes</B> through <B>dwAppInfoOffset</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 取回, 因為 地址在一個域或為它的開始地址設(shè)定的邊界的外部路徑上. \n\n你想從服務(wù)器打開它嗎?'))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="func1_4377.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_4377.htm"><B>lineGetLineDevStatus</B></A>, <A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/tspi21/func2_3e7n.htm \n\n這個文件不能通過 Teleport Pro 取回, 因為 地址在一個域或為它的開始地址設(shè)定的邊界的外部路徑上. \n\n你想從服務(wù)器打開它嗎?'))window.location='http://msdn.microsoft.com/library/psdk/tspi21/func2_3e7n.htm'" tppabs="http://msdn.microsoft.com/library/psdk/tspi21/func2_3e7n.htm"><B>TSPI_lineGetLineDevStatus</B></A>, <A HREF="struc1_7r76.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_7r76.htm"><B>LINEAPPINFO</B></A>, <A HREF="struc2_67aq.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_67aq.htm"><B>LINEDEVCAPS</B></A>, <A HREF="func2_0vn0.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_0vn0.htm"><B>lineSetTerminal</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 取回, 因為 地址在一個域或為它的開始地址設(shè)定的邊界的外部路徑上. \n\n你想從服務(wù)器打開它嗎?'))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>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -