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

📄 devclass_7wth.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>tapi/line</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="tapi/line">
<META NAME="MS-HAID" CONTENT="_tapi2_tapi_line">
</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_tapi_line"></A>tapi/line</H1>

<P>The tapi/line device class consists of all line devices. You access these devices using the TAPI line functions. </P>

<P>The <A HREF="func1_2gf8.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_2gf8.htm"><B>lineGetID</B></A> function fills a <A HREF="struc2_8vle.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_8vle.htm"><B>VARSTRING</B></A> structure, setting the <B>dwStringFormat</B> member to the STRINGFORMAT_BINARY value and appending this additional member. </P>

<PRE>DWORD dwDeviceI;  // line device identifier</PRE>

<P>The <B>dwDeviceId</B> member is the identifier of the line device associated with the line handle given by <B>lineGetID</B>. </P>

<P>The <A HREF="func2_1qxw.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_1qxw.htm"><B>phoneGetID</B></A> function also fills a <B>VARSTRING</B> structure, setting <B>dwStringFormat</B> to STRINGFORMAT_BINARY and appending this additional member: </P>

<PRE>DWORD adwDeviceIds[];  // array of line device identifiers</PRE>

<P>The <B>adwDeviceIds</B> member is an array containing the device identifiers of all line devices that are associated with the phone device. If there are no associated line devices, <B>phoneGetID</B> returns the PHONEERR_INVALDEVICECLASS value. </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 + -