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

📄 msgs_0mr7.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_AGENTSTATUS</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="LINE_AGENTSTATUS">
<META NAME="MS-HAID" CONTENT="_tapi2_line_agentstatus">
</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_agentstatus"></A>LINE_AGENTSTATUS</H1>

<P>The TAPI LINE_AGENTSTATUS message is sent when the status of an ACD agent changes on a line the application currently has open. The application can invoke <A HREF="func1_1w37.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_1w37.htm"><B>lineGetAgentStatus</B></A> to determine the current status of the agent. </P>

<PRE class=syntax>LINE_AGENTSTATUS
hDevice = (DWORD) hLine;
dwCallbackInstance = (DWORD) dwInstanceData;
dwParam1 = (DWORD) dwAddressID;
dwParam2 = (DWORD) AgentStatus;
dwParam3 = (DWORD) AgentStatusDetail;</PRE>

<H4>Parameters</H4>

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

<DD>The application's handle to the line device on which the agent status has changed. </DD>

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

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

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

<DD>Identifier of the address on the line on which the agent status changed. An address identifier is permanently associated with an address; the identifier remains constant across operating system upgrades.</DD>

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

<DD>Specifies the agent status that has changed; can be a combination of <A HREF="constnts_0yyb.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_0yyb.htm">LINEAGENTSTATUS_ constants</A>. </DD>

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

<DD>If <I>dwParam2</I> includes the LINEAGENTSTATUS_STATE bit, then <I>dwParam3</I> indicates the new value of the <B>dwState</B> member in <A HREF="struc1_7wqa.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_7wqa.htm"><B>LINEAGENTSTATUS</B></A>. Otherwise, this parameter is set to zero. 
</DD>
</DL>

<H4>Return Values</H4>

<P>No return value. </P>

<H4>Remarks</H4>

<P>The LINE_AGENTSTATUS message is not sent to applications that support older versions of TAPI. </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_7wqa.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_7wqa.htm"><B>LINEAGENTSTATUS</B></A>, <A HREF="func1_1w37.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_1w37.htm"><B>lineGetAgentStatus</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 + -