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

📄 struc1_7wqa.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>LINEAGENTSTATUS</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="LINEAGENTSTATUS">
<META NAME="MS-HAID" CONTENT="_tapi2_lineagentstatus_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_lineagentstatus_str"></A>LINEAGENTSTATUS</H1>

<P>The <B>LINEAGENTSTATUS</B> structure describes the current status of an ACD agent. The <A HREF="func1_1w37.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_1w37.htm"><B>lineGetAgentStatus</B></A> function returns the <B>LINEAGENTSTATUS</B> structure.</P>

<PRE class=syntax>typedef struct lineagentstatus_tag {
  DWORD  dwTotalSize;
  DWORD  dwNeededSize;
  DWORD  dwUsedSize;

  DWORD  dwNumEntries;
  DWORD  dwGroupListSize;
  DWORD  dwGroupListOffset;

  DWORD  dwState;
  DWORD  dwNextState;
  DWORD  dwActivityID;
  DWORD  dwActivitySize;
  DWORD  dwActivityOffset;

  DWORD  dwAgentFeatures;
  DWORD  dwValidStates;
  DWORD  dwValidNextStates;
} LINEAGENTSTATUS, *LPLINEAGENTSTATUS;</PRE>

<H4>Members</H4>

<DL>
<DT><B>dwTotalSize</B></DT>

<DD>The total size, in bytes, allocated to this data structure.</DD>

<DT><B>dwNeededSize</B></DT>

<DD>The size, in bytes, needed to hold all the information requested.</DD>

<DT><B>dwUsedSize</B></DT>

<DD>The size, in bytes, of the portion of this data structure that contains useful information.</DD>

<DT><B>dwNumEntries</B> </DT>

<DD>The number of <A HREF="struc1_5f1u.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_5f1u.htm"><B>LINEAGENTGROUPENTRY</B></A> structures that appear in the <I>GroupList</I> array. The value is 0 if no agent is logged in on the address. </DD>

<DT><B>dwGroupListSize</B> </DT>

<DT><B>dwGroupListOffset</B> </DT>

<DD>Total size, in bytes, and offset from the beginning of <B>LINEAGENTSTATUS</B> of an array of <B>LINEAGENTGROUPENTRY</B> elements. The size is <B>dwNumEntries</B> times SIZEOF(LINEAGENTGROUPENTRY). The array contains groups into which the agent is currently logged in on the address. </DD>

<DT><B>dwState</B> </DT>

<DD>The current state of the agent. One of the <A HREF="constnts_9shf.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_9shf.htm">LINEAGENTSTATE_ constants</A>.</DD>

<DT><B>dwNextState</B> </DT>

<DD>The state into which the agent is automatically placed when the current call completes. One of the LINEAGENTSTATE_ constants. </DD>

<DT><B>dwActivityID</B> </DT>

<DD>The identifier of the current agent activity. </DD>

<DT><B>dwActivitySize</B> </DT>

<DT><B>dwActivityOffset</B> </DT>

<DD>Size, in bytes, and offset from the beginning of <B>LINEAGENTSTATUS</B> of a null-terminated string specifying the current agent activity. </DD>

<DT><B>dwAgentFeatures</B> </DT>

<DD>The agent-related features available at the time the status was obtained, using the <A HREF="constnts_2tmb.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_2tmb.htm">LINEAGENTFEATURE_ constants</A>. </DD>

<DT><B>dwValidStates</B> </DT>

<DD>The agent states that could be selected, at this point in time, using <A HREF="func1_7lk5.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_7lk5.htm"><B>lineSetAgentState</B></A>. Consists of one or more of the <A HREF="constnts_9shf.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_9shf.htm">LINEAGENTSTATE_ constants</A>. </DD>

<DT><B>dwValidNextStates</B> </DT>

<DD>The next agent states that could be selected, at this point in time, by calling the <A HREF="func1_7lk5.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_7lk5.htm"><B>lineSetAgentState</B></A> function. Consists of one or more of the LINEAGENTSTATE_ constants. 
</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="struc1_5f1u.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_5f1u.htm"><B>LINEAGENTGROUPENTRY</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 + -