⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 struc2_4w36.htm

📁 TAPI Exampple
💻 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 取回, 因为 地址在一个域或为它的开始地址设定的边界的外部路径上.  \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>&nbsp;&nbsp;Windows NT/2000: </B>Requires Windows NT 4.0 SP3 or later.<BR>
<B>&nbsp;&nbsp;Windows 95/98: </B>Requires Windows 95 or later.<BR>
<B>&nbsp;&nbsp;Version: </B>Requires TAPI 1.4 or later.<BR>
<B>&nbsp;&nbsp;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 取回, 因为 地址在一个域或为它的开始地址设定的边界的外部路径上.  \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">&#169; 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 + -