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

📄 msgs_3v51.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>LINE_ADDRESSSTATE</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="LINE_ADDRESSSTATE">
<META NAME="MS-HAID" CONTENT="_tapi2_line_addressstate">
</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_line_addressstate"></A>LINE_ADDRESSSTATE</H1>

<P>The TAPI LINE_ADDRESSSTATE message is sent when the status of an address changes on a line that is currently open by the application. The application can invoke <A HREF="func1_5b5f.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_5b5f.htm"><B>lineGetAddressStatus</B></A> to determine the current status of the address. </P>

<PRE class=syntax>LINE_ADDRESSSTATE
hDevice = (DWORD) hLine;
dwCallbackInstance = (DWORD) hCallback;
dwParam1 = (DWORD) idAddress;
dwParam2 = (DWORD) AddressState;
dwParam3 = (DWORD) 0;</PRE>

<H4>Parameters</H4>

<DL>
<DT><I>hDevice</I> </DT>

<DD>A handle to the line device. </DD>

<DT><I>dwCallbackInstance</I> </DT>

<DD>The callback instance supplied when opening the line. </DD>

<DT><I>dwParam1</I> </DT>

<DD>The address identifier of the address that changed status. </DD>

<DT><I>dwParam2</I> </DT>

<DD>The address state that changed. Can be one or more of the <A HREF="constnts_85bn.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_85bn.htm">LINEADDRESSSTATE_ constants</A>.</DD>

<DT><I>dwParam3</I> </DT>

<DD>Unused. 
</DD>
</DL>

<H4>Return Values</H4>

<P>No return value. </P>

<H4>Remarks</H4>

<P>The LINE_ADDRESSSTATE message is sent to any application that has opened the line device and that has enabled this message. The sending of this message for the various status items can be controlled and queried using <A HREF="func1_4a43.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_4a43.htm"><B>lineGetStatusMessages</B></A> and <A HREF="func2_3upf.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_3upf.htm"><B>lineSetStatusMessages</B></A>. By default, address status reporting is disabled. </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 2.0 or later.<BR>
<B>&nbsp;&nbsp;Header: </B>Declared in Tapi.h.</P>

<H4>See Also</H4>

<P><A HREF="struc1_5uuq.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_5uuq.htm"><B>LINEADDRESSCAPS</B></A>, <A HREF="func1_533n.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_533n.htm"><B>lineGetAddressCaps</B></A>, <A HREF="func1_5b5f.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_5b5f.htm"><B>lineGetAddressStatus</B></A>, <A HREF="func1_4a43.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_4a43.htm"><B>lineGetStatusMessages</B></A>, <A HREF="func2_3upf.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_3upf.htm"><B>lineSetStatusMessages</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 + -