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

📄 struc1_7r76.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>LINEAPPINFO</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="LINEAPPINFO">
<META NAME="MS-HAID" CONTENT="_tapi2_lineappinfo_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_lineappinfo_str"></A>LINEAPPINFO</H1>

<P>The <B>LINEAPPINFO</B> structure contains information about the application that is currently running. The <A HREF="struc2_40oi.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_40oi.htm"><B>LINEDEVSTATUS</B></A> structure can contain an array of <B>LINEAPPINFO</B> structures.</P>

<PRE class=syntax>typedef struct lineappinfo_tag {
  DWORD  dwMachineNameSize;
  DWORD  dwMachineNameOffset;
  DWORD  dwUserNameSize;
  DWORD  dwUserNameOffset;
  DWORD  dwModuleFilenameSize;
  DWORD  dwModuleFilenameOffset;
  DWORD  dwFriendlyNameSize;
  DWORD  dwFriendlyNameOffset;
  DWORD  dwMediaModes;
  DWORD  dwAddressID;
} LINEAPPINFO, *LPLINEAPPINFO;</PRE>

<H4>Members</H4>

<DL>
<DT><B>dwMachineNameSize</B> </DT>

<DT><B>dwMachineNameOffset</B> </DT>

<DD>Size, in bytes, and offset from the beginning of <A HREF="struc2_40oi.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_40oi.htm"><B>LINEDEVSTATUS</B></A> of a string specifying the name of the computer on which the application is executing. </DD>

<DT><B>dwUserNameSize</B> </DT>

<DT><B>dwUserNameOffset</B> </DT>

<DD>Size, in bytes, and offset from the beginning of <B>LINEDEVSTATUS</B> of a string specifying the user name under whose account the application is running. </DD>

<DT><B>dwModuleFilenameSize</B> </DT>

<DT><B>dwModuleFilenameOffset</B> </DT>

<DD>Size, in bytes, and offset from the beginning of <B>LINEDEVSTATUS</B> of a string specifying the module filename of the application. This string can be used in a call to <A HREF="func1_6tt2.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_6tt2.htm"><B>lineHandoff</B></A><B> </B>to perform a directed handoff to the application. </DD>

<DT><B>dwFriendlyNameSize</B> </DT>

<DT><B>dwFriendlyNameOffset</B> </DT>

<DD>Size, in bytes, and offset from the beginning of <B>LINEDEVSTATUS</B> of the string provided by the application to <A HREF="func1_26lh.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_26lh.htm"><B>lineInitialize</B></A> or <A HREF="func1_2o54.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_2o54.htm"><B>lineInitializeEx</B></A>, which should be used in any display of applications to the user. </DD>

<DT><B>dwMediaModes</B> </DT>

<DD>The media types for which the application has requested ownership of new calls; zero if when it opened the line <B>dwPrivileges</B> did not include LINECALLPRIVILEGE_OWNER. </DD>

<DT><B>dwAddressID</B> </DT>

<DD>If the line handle was opened using LINEOPENOPTION_SINGLEADDRESS, contains the address identifier specified; set to 0xFFFFFFFF if the single address option was not used. 

<P>An address identifier is permanently associated with an address; the identifier remains constant across operating system upgrades. 

</DD>
</DL>

<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 2.0 or later.<BR>
<B>&nbsp;&nbsp;Header: </B>Declared in Tapi.h.</P>

<H4>See Also</H4>

<P><A HREF="struc2_40oi.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_40oi.htm"><B>LINEDEVSTATUS</B></A>, <A HREF="func1_6tt2.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_6tt2.htm"><B>lineHandoff</B></A>, <A HREF="func1_26lh.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_26lh.htm"><B>lineInitialize</B></A>, <A HREF="func1_2o54.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_2o54.htm"><B>lineInitializeEx</B></A>, <A HREF="func1_4377.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_4377.htm"><B>lineGetLineDevStatus</B></A>, <A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/tspi21/func2_3e7n.htm  \n\n这个文件不能通过 Teleport Pro 取回, 因为 地址在一个域或为它的开始地址设定的边界的外部路径上.  \n\n你想从服务器打开它吗?'))window.location='http://msdn.microsoft.com/library/psdk/tspi21/func2_3e7n.htm'" tppabs="http://msdn.microsoft.com/library/psdk/tspi21/func2_3e7n.htm"><B>TSPI_lineGetLineDevStatus</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 + -