📄 struc1_2u7m.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>LINECARDENTRY</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="LINECARDENTRY">
<META NAME="MS-HAID" CONTENT="_tapi2_linecardentry_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_linecardentry_str"></A>LINECARDENTRY</H1>
<P>The <B>LINECARDENTRY</B> structure describes a calling card. The <A HREF="struc2_4w36.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_4w36.htm"><B>LINETRANSLATECAPS</B></A> structure can contain an array of <B>LINECARDENTRY</B> structures.</P>
<PRE class=syntax>typedef struct linecardentry_tag {
DWORD dwPermanentCardID;
DWORD dwCardNameSize;
DWORD dwCardNameOffset;
DWORD dwCardNumberDigits;
DWORD dwSameAreaRuleSize;
DWORD dwSameAreaRuleOffset;
DWORD dwLongDistanceRuleSize;
DWORD dwLongDistanceRuleOffset;
DWORD dwInternationalRuleSize;
DWORD dwInternationalRuleOffset;
DWORD dwOptions;
} LINECARDENTRY, FAR *LPLINECARDENTRY; </PRE>
<H4>Members</H4>
<DL>
<DT><B>dwPermanentCardID</B> </DT>
<DD>The permanent identifier that identifies the card. </DD>
<DT><B>dwCardNameSize</B> </DT>
<DT><B>dwCardNameOffset</B> </DT>
<DD>Contains a null-terminated string (size includes the NULL) that describes the card in a user-friendly manner. </DD>
<DT><B>dwCardNumberDigits</B> </DT>
<DD>The number of digits in the existing card number. The card number itself is not returned for security reasons (it is stored in scrambled form by TAPI). The application can use this to insert filler bytes into a text control in "password" mode to show that a number exists. </DD>
<DT><B>dwSameAreaRuleSize</B> </DT>
<DT><B>dwSameAreaRuleOffset</B> </DT>
<DD>The offset, in bytes, from the beginning of the <A HREF="struc2_4w36.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_4w36.htm"><B>LINETRANSLATECAPS</B></A> structure and the total number of bytes in the dialing rule defined for calls to numbers in the same area code. The rule is a null-terminated string. </DD>
<DT><B>dwLongDistanceRuleSize</B> </DT>
<DT><B>dwLongDistanceRuleOffset</B> </DT>
<DD>The offset, in bytes, from the beginning of the <B>LINETRANSLATECAPS</B> structure and the total number of bytes in the dialing rule defined for calls to numbers in the other areas in the same country/region. The rule is a null-terminated string. </DD>
<DT><B>dwInternationalRuleSize</B> </DT>
<DT><B>dwInternationalRuleOffset</B> </DT>
<DD>The offset, in bytes, from the beginning of the <B>LINETRANSLATECAPS</B> structure and the total number of bytes in the dialing rule defined for calls to numbers in other countries/regions. The rule is a null-terminated string. </DD>
<DT><B>dwOptions</B> </DT>
<DD>Indicates other settings associated with this calling card, using the <A HREF="constnts_2g6r.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_2g6r.htm">LINECARDOPTION_ Constants</A>.
</DD>
</DL>
<H4>Remarks</H4>
<P>Older applications are compiled without knowledge of these new fields, and using a SIZEOF(LINECARDENTRY) smaller than the new size. Because this is an array in the variable portion of a <A HREF="struc2_4w36.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_4w36.htm"><B>LINETRANSLATECAPS</B></A> structure, it is imperative that older applications receive <B>LINECARDENTRY</B> structures in the format they previously expected, or they are not able to index properly through the array. The application passes in a <I>dwAPIVersion</I> parameter with the <A HREF="func1_0sc3.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_0sc3.htm"><B>lineGetTranslateCaps</B></A> function, which can be used for guidance by TAPI in handling this situation. The <B>lineGetTranslateCaps</B> function should use the <B>LINECARDENTRY</B> fields and size that match the indicated API version, when building the <B>LINETRANSLATECAPS</B> structure to be returned to the application. </P>
<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> 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_0sc3.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_0sc3.htm"><B>lineGetTranslateCaps</B></A>, <A HREF="struc2_4w36.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_4w36.htm"><B>LINETRANSLATECAPS</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 + -