?? devclass_8mgc.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/terminal</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="tapi/terminal">
<META NAME="MS-HAID" CONTENT="_tapi2_tapi_terminal">
</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_terminal"></A>tapi/terminal</H1>
<P>The tapi/terminal device class consists of the phone devices associated with each terminal on a line or the terminal on each line associated with a phone device. You access these devices by using the TAPI <A HREF="func1_019v.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_019v.htm">line device</A> or <A HREF="func2_87sj.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_87sj.htm">phone device functions</A>. </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 adwDeviceId[]; // array of phone device identifiers</PRE>
<P>The <B>adwDeviceId</B> member is an array of phone device identifiers. There is one array element for each terminal specified by the <B>dwNumTerminals</B> member in the <A HREF="struc2_67aq.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_67aq.htm"><B>LINEDEVCAPS</B></A> structure for the given line device. Each element specifies the identifier of the phone device associated with the corresponding terminal on the line. If there is no phone device associated with a terminal, the element is set to
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -