?? struc2_4w36.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>LINETRANSLATECAPS</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="LINETRANSLATECAPS">
<META NAME="MS-HAID" CONTENT="_tapi2_linetranslatecaps_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_linetranslatecaps_str"></A>LINETRANSLATECAPS</H1>
<P>The <B>LINETRANSLATECAPS</B> structure describes the address translation capabilities. This structure can contain an array of <A HREF="struc2_362a.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_362a.htm"><B>LINELOCATIONENTRY</B></A> structures and an array of <A HREF="struc1_2u7m.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_2u7m.htm"><B>LINECARDENTRY</B></A> structures. The <B>LINETRANSLATECAPS</B> structure is returned by the <A HREF="func1_0sc3.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_0sc3.htm"><B>lineGetTranslateCaps</B></A> function.</P>
<PRE class=syntax>typedef struct linetranslatecaps_tag {
DWORD dwTotalSize;
DWORD dwNeededSize;
DWORD dwUsedSize;
DWORD dwNumLocations;
DWORD dwLocationListSize;
DWORD dwLocationListOffset;
DWORD dwCurrentLocationID;
DWORD dwNumCards;
DWORD dwCardListSize;
DWORD dwCardListOffset;
DWORD dwCurrentPreferredCardID;
} LINETRANSLATECAPS, FAR *LPLINETRANSLATECAPS; </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>dwNumLocations</B> </DT>
<DD>The number of entries in the <B>LocationList</B>. It includes all locations defined, including zero (default). </DD>
<DT><B>dwLocationListSize</B> </DT>
<DT><B>dwLocationListOffset</B> </DT>
<DD>List of locations known to the address translation. The list consists of a sequence of <A HREF="struc2_362a.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_362a.htm"><B>LINELOCATIONENTRY</B></A> structures. The <B>dwLocationListOffset</B> member points to the first byte of the first <B>LINELOCATIONENTRY</B> structure, and the <B>dwLocationListSize</B> member indicates the total number of bytes in the entire list. </DD>
<DT><B>dwCurrentLocationID</B> </DT>
<DD>The <B>dwPermanentLocationID</B> member from the <B>LINELOCATIONENTRY</B> structure for the <B>CurrentLocation</B>. </DD>
<DT><B>dwNumCards</B> </DT>
<DD>The number of entries in the <B>CardList</B>. </DD>
<DT><B>dwCardListSize</B> </DT>
<DT><B>dwCardListOffset</B> </DT>
<DD>List of calling cards known to the address translation. It includes only non-hidden card entries and always includes card 0 (direct dial). The list consists of a sequence of <A HREF="struc1_2u7m.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_2u7m.htm"><B>LINECARDENTRY</B></A> structures. The <B>dwCardListOffset</B> member points to the first byte of the first <B>LINECARDENTRY</B> structure, and the <B>dwCardListSize</B> member indicates the total number of bytes in the entire list. </DD>
<DT><B>dwCurrentPreferredCardID</B> </DT>
<DD>The <B>dwPreferredCardID</B> member from the <A HREF="struc2_362a.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_362a.htm"><B>LINELOCATIONENTRY</B></A> structure for the <B>CurrentLocation</B>.
</DD>
</DL>
<H4>Remarks</H4>
<P>This structure may not be extended.</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="struc1_2u7m.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_2u7m.htm"><B>LINECARDENTRY</B></A>, <A HREF="struc2_362a.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_362a.htm"><B>LINELOCATIONENTRY</B></A>, <A HREF="func1_0sc3.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_0sc3.htm"><B>lineGetTranslateCaps</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 + -