?? struc1_848i.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>LINEADDRESSSTATUS</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="LINEADDRESSSTATUS">
<META NAME="MS-HAID" CONTENT="_tapi2_lineaddressstatus_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_lineaddressstatus_str"></A>LINEADDRESSSTATUS</H1>
<P>The <B>LINEADDRESSSTATUS</B> structure describes the current status of an address. The <A HREF="func1_5b5f.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_5b5f.htm"><B>lineGetAddressStatus</B></A> function and the <A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/tspi21/func1_4m5v.htm \n\n這個文件不能通過 Teleport Pro 取回, 因為 地址在一個域或為它的開始地址設(shè)定的邊界的外部路徑上. \n\n你想從服務(wù)器打開它嗎?'))window.location='http://msdn.microsoft.com/library/psdk/tspi21/func1_4m5v.htm'" tppabs="http://msdn.microsoft.com/library/psdk/tspi21/func1_4m5v.htm"><B>TSPI_lineGetAddressStatus</B></A> function return the <B>LINEADDRESSSTATUS</B> structure. </P>
<PRE class=syntax>typedef struct lineaddressstatus_tag {
DWORD dwTotalSize;
DWORD dwNeededSize;
DWORD dwUsedSize;
DWORD dwNumInUse;
DWORD dwNumActiveCalls;
DWORD dwNumOnHoldCalls;
DWORD dwNumOnHoldPendCalls;
DWORD dwAddressFeatures;
DWORD dwNumRingsNoAnswer;
DWORD dwForwardNumEntries;
DWORD dwForwardSize;
DWORD dwForwardOffset;
DWORD dwTerminalModesSize;
DWORD dwTerminalModesOffset;
DWORD dwDevSpecificSize;
DWORD dwDevSpecificOffset;
} LINEADDRESSSTATUS, FAR *LPLINEADDRESSSTATUS; </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>dwNumInUse</B> </DT>
<DD>Specifies the number of stations that are currently using the address. </DD>
<DT><B>dwNumActiveCalls</B> </DT>
<DD>The number of calls on the address that are 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 address in the <I>onhold</I> state. </DD>
<DT><B>dwNumOnHoldPendCalls</B> </DT>
<DD>The number of calls on the address in the <I>onholdpendingtransfer</I> or <I>onholdpendingconference</I> state. </DD>
<DT><B>dwAddressFeatures</B> </DT>
<DD>Specifies the address-related API functions that can be invoked on the address in its current state. This member uses one or more of the <A HREF="constnts_08s3.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_08s3.htm">LINEADDRFEATURE_ constants</A>.</DD>
<DT><B>dwNumRingsNoAnswer</B> </DT>
<DD>The number of rings set for this address before an unanswered call is considered as no answer. </DD>
<DT><B>dwForwardNumEntries</B> </DT>
<DD>The number of entries in the array referred to by <B>dwForwardSize</B> and <B>dwForwardOffset</B>. </DD>
<DT><B>dwForwardSize</B> </DT>
<DT><B>dwForwardOffset</B> </DT>
<DD>The size, in bytes, and the offset, in bytes, from the beginning of this data structure of the variably sized field that describes the address's forwarding information. This information is an array of <B>dwForwardNumEntries</B> elements, of type <A HREF="struc2_781e.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_781e.htm"><B>LINEFORWARD</B></A>. The offsets of the addresses in the array are relative to the beginning of the <B>LINEADDRESSSTATUS</B> structure. The offsets <B>dwCallerAddressOffset</B> and <B>dwDestAddressOffset</B> in the variably sized field of type <B>LINEFORWARD</B> pointed to by <B>dwForwardSize</B> and <B>dwForwardOffset</B> are relative to the beginning of the <B>LINEADDRESSSTATUS</B> data structure (the "root" container). </DD>
<DT><B>dwTerminalModesSize</B> </DT>
<DT><B>dwTerminalModesOffset</B> </DT>
<DD>The size, in bytes, and the offset, in bytes, from the beginning of this data structure of the variably sized device field containing an array with <B>DWORD</B>-sized entries, that use one or more of the <A HREF="constnts_9vub.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_9vub.htm">LINETERMMODE_ constants</A>. This array is indexed by terminal identifiers, in the range from zero to one less than <B>dwNumTerminals</B>. Each entry in the array specifies the current terminal modes for the corresponding terminal set with the <A HREF="func2_0vn0.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_0vn0.htm"><B>lineSetTerminal</B></A> function for this address. </DD>
<DT><B>dwDevSpecificSize</B> </DT>
<DT><B>dwDevSpecificOffset</B> </DT>
<DD>The size, in bytes, and the offset, in bytes, from the beginning of this data structure of the variably sized device-specific field.
</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>This data structure is returned by the <A HREF="func1_5b5f.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_5b5f.htm"><B>lineGetAddressStatus</B></A> function. When items in this data structure change as a consequence of activities on the address, a <A HREF="msgs_3v51.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_3v51.htm">LINE_ADDRESSSTATE</A> message is sent to the application. A parameter to this message is the address state, one of the <A HREF="constnts_85bn.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_85bn.htm">LINEADDRESSSTATE_ constants</A>, which indicates that the status item in this record changed. </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="msgs_3v51.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_3v51.htm">LINE_ADDRESSSTATE</A>, <A HREF="struc2_781e.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_781e.htm"><B>LINEFORWARD</B></A>, <A HREF="func1_5b5f.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_5b5f.htm"><B>lineGetAddressStatus</B></A>, <A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/tspi21/func1_4m5v.htm \n\n這個文件不能通過 Teleport Pro 取回, 因為 地址在一個域或為它的開始地址設(shè)定的邊界的外部路徑上. \n\n你想從服務(wù)器打開它嗎?'))window.location='http://msdn.microsoft.com/library/psdk/tspi21/func1_4m5v.htm'" tppabs="http://msdn.microsoft.com/library/psdk/tspi21/func1_4m5v.htm"><B>TSPI_lineGetAddressStatus</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 + -