?? msgs_3v51.htm
字號(hào):
<!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這個(gè)文件不能通過(guò) Teleport Pro 取回, 因?yàn)?地址在一個(gè)域或?yàn)樗拈_始地址設(shè)定的邊界的外部路徑上. \n\n你想從服務(wù)器打開它嗎?'))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 2.0 or later.<BR>
<B> 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這個(gè)文件不能通過(guò) Teleport Pro 取回, 因?yàn)?地址在一個(gè)域或?yàn)樗拈_始地址設(shè)定的邊界的外部路徑上. \n\n你想從服務(wù)器打開它嗎?'))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>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -